edit message macro

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

Guest

I am used to Excel with VBA, but am new to OL. I need to have a key that
runs a macro which does the following:

1) opens selected messages
2) puts message into edit mode
3) highlights subject text

I will then change the subject text and exit/save out of the message.

Can anyone help with the code (I'm guessing it has to be pretty short) for
the above three steps, and also let me know where I'd place this code in OL
VBA?

Thanks.
 
Am Sun, 18 Jun 2006 04:08:01 -0700 schrieb BorisS:

You can place the code into the module "ThisOutlookSession", it has to be
Public with no parameters.

The selected message are in the Application.ActiveExplorer.Selection
collection. For changing the subject you don´t need to open a message, but
just write the next text into its Subject property, and don´t forget to save
the message.
 
Back
Top