A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Macro to add text to a Message



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 5th 10, 09:08 PM posted to microsoft.public.outlook.program_vba
Emma Aumack
external usenet poster
 
Posts: 3
Default Macro to add text to a Message

Hi all,

Although I have used VBA in Excel, I have never used it in Outlook. Using
Outlook 2007, What I would like to do seems simple enough but I have no clue
how to do it. All I want to do is add text to the body of a message. I
thought something like this would work but I get the error message "Sub of
Function not defined". I know I'm missing an event or something but I'm not
sure. Can someone please help?

Sub APPRVL_REQ_TEXT()

Dim Aprvl_Text As String

Aprvl_Text = "Your approval is requested for the following contract
renewals. Please also see sales data below:"

End Sub


--
www.bardpv.com
Tempe, Arizona
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro - Open new message, populate from and subject fields, and message text AndreaP Outlook and VBA 1 August 14th 09 05:27 PM
Inserting text from a macro Kate Outlook and VBA 1 July 23rd 09 03:58 PM
Temporarily reply to a message in Plain Text and not in Rich Text Singapore Web Design Outlook Express 3 April 1st 08 05:07 PM
Bolding Text in Macro Jeff - Footprints Outlook and VBA 1 March 29th 07 07:18 AM
Macro to change font of selected text in mail message? Joe HM Outlook and VBA 1 April 6th 06 06:06 PM


All times are GMT +1. The time now is 05:03 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.