BleepingComputer.com: Outlook 2003

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Outlook 2003

#1 User is offline   Joe Connor 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 62
  • Joined: 19-April 09

Posted 23 July 2009 - 05:33 AM

Hi,

Is their a way to set a pre set email? I don’t want to make a template and have to go to a folder jus to double click it. Maybe some sort of macro? Any fast way to click on a pre set email?

#2 User is offline   Chris S. 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 13
  • Joined: 20-July 09
  • Gender:Male
  • Location:Queens, NY

Posted 23 July 2009 - 05:36 PM

Here is a good site for the basics on how to create the macro and add a button for it on the toolbar (I created a new toolbar for custom messages): http://www.amset.info/outlook/newmessagemacro.asp

Here's the code I used...
Sub NewMail()
	Dim objOLApp As Outlook.Application
	Dim NewMail As Outlook.MailItem
	Set objOLApp = New Outlook.Application
	Set NewMail = objOLApp.CreateItem(olMailItem)
	NewMail.Subject = "This is a message that I send a lot."
	NewMail.Body = "Hello Everyone," & vbCrLf & vbCrLf & "This is a message that I send all the time" & vbCrLf & vbCrLf & "Thanks," & vbCrLf & "Chris"
	NewMail.CC = "MyBoss@domain.net"
	NewMail.To = "TheSameOlPpl@domain.net"
	NewMail.Display
End Sub


#3 User is offline   Joe Connor 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 62
  • Joined: 19-April 09

Posted 24 July 2009 - 05:46 AM

Might be a bit cheeky but i cant manage to do it, reckon you could do a screenshot type process on word for me mate?

#4 User is offline   Chris S. 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 13
  • Joined: 20-July 09
  • Gender:Male
  • Location:Queens, NY

Posted 24 July 2009 - 12:02 PM

Joe,

Here are more straightforward instructions. If you still need screens, send me a message. I hope this helps.

-Chris


1. Open Outlook.

2. Select Tools > Macro > Macros from the menu bar.

3. Enter a new macro name (no spaces) and click Create. Microsoft Visual Basic editor opens.

4. In the Visual Basic editor, paste the desired code (seen above for a pre-filled message)

5. Close the Visual Basic editor.

6. Right-click on the Outlook toolbar and select Customize…

7. Select the Commands tab then the Macros category and drag your new macro to the actual toolbar.
To create a new toolbar for macros, click the Toolbars tab in the Customize window and then click the New… button. Name the toolbar and click OK.

8. Right-Click on the new button with the Customize window still open to access Modify Selection menu so that you can rename the button.
You can also change or remove the button’s picture by right-clicking on it.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users