Adding Message Text to Recieved Message

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I would like to write some code to add five lines of text to the current
selected message in my inbox. This text that will be added will be taken from
a user form created in VBA, and working with the form in no problem but how
do i gain access to the current selected message, the message will be open.

I know i can open the message and goto the Edit menu and Edit Message. But
the user will be selecting items from a drop down list in a form and this is
the information that will be returned.

Also how can i run code straight away when the message has been opened.

DMc
 
Hi,

if there is one item selected than you can access it via
ActiveExplorer.Selection collection. Please see VBA help for an example.
 
Back
Top