I have a VB script to automate some functions when replying to messages sent to a shared mailbox.
One feature is that replies are sent from the user's mailbox and not from the shared mailbox account.
I need to be able to hide the From field in replies. It is currently displayed in the Reply window.
I have the following code, which doesn't work.
Can someone please point me in the right direction?
I am using Outlook 2007.
oMail.GetInspector.CommandBars("Options").Controls("Fields").Controls("From Field").Execute
Where oMail is defined as Outlook.MailItem
Any help would be much appreciated. Thanks!