- 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.
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!
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?
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!
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?