![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hello, I am trying to write a macro for the first time in
OUTLOOK 2000. I find this will help me cause I don't get around very well. But am having trouble to write one in the VBA. Can you show me how to simply write a few sentences that I can "automatically" include in an email reply to someone. Or if you can send me just a very simple sample or example of a macro that has a small paragraph email. that would be great. I have been looking on "google for hours" now, and all I could find was this sample below, but all it does is put in the "subject line" automtically. What I would like to do is add a few sentences automatically in the "BODY" of the message. Can you please help. here is a small sample I found, but I really do not understand it very much. can you help me edit this "sample" so that it will include a small message in the "body" of the message. Thankyou so much. Ric If you can guide me step by step that would be great, I'm a complete beginner when it comes to VBA and Macros, I am using Outlook 2000. Sub HelloWorldMessage() Dim msg As Outlook.MailItem Set msg = Application.CreateItem(olMailItem) msg.Subject = "Hello World!" msg.Display Set msg = Nothing End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Writing a macro | Pete | Outlook and VBA | 1 | July 25th 07 11:34 PM |
Writing a macro in Outlook 2007 | Tammy | Outlook - General Queries | 2 | May 8th 07 04:47 PM |
Outlook macro abends but Word macro runs successfully | Jreue | Outlook and VBA | 0 | December 14th 06 12:55 AM |
Call macro stored in Excel workbook from Outlook's macro | Gvaram | Outlook and VBA | 5 | October 4th 06 07:26 AM |
writing a macro to throw emails that contain pictures to trash | windows314 | Outlook and VBA | 1 | April 30th 06 10:12 AM |