View Single Post
  #2  
Old June 19th 06, 05:28 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default edit message macro

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.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


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.

Ads
 

Bargain Flights - News - Free Advertising - Mortgages - Personal Injury Lawyer Los Angeles