I am having trouble setting up a Macro and tying it to the Ribbon in Outlook 2010.
I have seen this posted:
Sub DoIt()
Set msg = Application.CreateItemFromTemplate("C:\myfile.oft" )
msg.Display
End Sub
In addition, ''C:\myfile.oft'' is your template file name and path.
And I am able to get to the VBA but the Macro is giving me an error message. This is what I put in:
Sub DoIt()
Set msg = Application.CreateItemFromTemplate(C:\Users\Sundie\AppData\Roaming\Microsoft\Templates\*.oft)
msg.Display
End Sub
The email I want to send out to multiple people is in the following directory C:\Users\Sundie\AppData\Roaming\Microsoft\Templates\*.oft and is called Angel Tree. What exactly do I need to put in the (). Do I put the " " as well?
Also is there a way to send individual emails to a list of addresses I have in an excel document- to avoid a spam designation? These are to promote our office Angel Tree.
Thank you.