3

Is there a easy way to get the current shown (preferably selected) message-ID via VBA ? without having to buy Redemption or some other package..

I need to message ID so I can make a link to a web-application that reads the mail and does some other stuff with it

Can't seem to use MAPI or PropertyAccessor in outlook 2003..

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
Sander
  • 1,402
  • 2
  • 21
  • 44

1 Answers1

2

Do you mean the unique ID for the message? Try the EntryID Property:

ActiveExplorer.Selection.Item(1).EntryID

FYI PropertyAccessor was added in Outlook 2007, you wouldn't see it in 2003.

JimmyPena
  • 8,694
  • 6
  • 43
  • 64