-
Getting the TO-address in Outlook using VBA
Hi
How can I get the email address when Outlook has not recognized the address as an email?
I use the following code:
Set olObj = Application.ActiveInspector.CurrentItem
HisMail = olObj.Recipients.Item(1).Address
But it only works, when Outlook has recognized the address as an email (i.e. when it is underlined in Outlook). Not when it's just normal text - then I get an error (Run-Time error '440').
Can anybody help me?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules