Outlook VBA - Select Default Account

Soldato
Joined
19 Jan 2003
Posts
17,539
Location
Bristol, UK
Hi all,

Putting together a couple of Macros within Outlook 2010. I've recreated the New, Reply, Reply All and Forward Buttons so that they always send emails via a specified account.

It's so that when a user replies to an email stored in a shared mailbox, the reply is sent via their own email account, not from the shared mailbox.

I am currently specifying this desired account by string in the code, e.g. "[email protected]"

In all instances of this macro being used, the desired account is also the default account.

Can I bypass the requirement of my string and manual declaration in favour of selecting the "default account".

This would save me a lot of time rolling this macro out to the 10 or so required users workstations.

Thanks in advance.
 
Back
Top Bottom