Q: read current message in VB

  • Thread starter Thread starter Malcolm Dew-Jones
  • Start date Start date
M

Malcolm Dew-Jones

Hello

I'm using outlook 2000 SR-1. I'm familiar with visual basic programming
in general, but not for outlook mail.

I am writing a macro that will examine the "current" message, and I'm not
sure what objects and calls I have to use to get that message.

What I means is this...

I will be examining messages interactively (i.e. nothing to do with macros
at this stage). I will open any folder, and select one of the messages
(again, this is interactive, no macros involved yet).

Then, I wish to go to macro menu and choose the macro to run.

I want the macro to examine the message I just interactively selected.

Question:
What steps/code does the macro need to use to access that message?


The online visual basic assistance has all sorts of useful stuff about all
sorts of internal details of the application and the properties of
messages - but it isn't clear to me how to get the handle of the message I
am reading - so it's hard to get started.

Feedback welcome, thanks.
 
Back
Top