Outlook Outlook 2007 macros

Joined
Apr 19, 2010
Messages
1
Reaction score
0
I'm hoping that someone can advise me on this. My office machine has just been upgraded to Office 2007 from Office 2003. :cool:

I had some macros set up in Word 2003 (my chosen e-mail editor in Office 2003) but when I tried to use these macro's in Outlook 2007 they didn't work! :confused: :wall:

Here's part of the VB script I had for Word 2003...

Sub OneNewLicenseToEndUser()
'
' New License To End User Macro
' Macro recorded 19/09/2007 by Richard Jones
'
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.WholeStory
Selection.Delete Unit:=wdCharacter, Count:=1
Documents.Add Template:= _
"\\oldgen2\Group\Userhome\Richard Jones\E-Mail Templates\1 New License to End User.dot" _
, NewTemplate:=False, DocumentType:=0
Selection.WholeStory
Selection.Copy
ActiveWindow.Close
Selection.PasteAndFormat (wdPasteDefault)
End Sub

This macro is for importing an e-mail template.

How can I convert this script to make it work in Outlook 2007?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top