oneillp111
07-19-2013, 07:30 AM
Hey Guys,
Hopefully this is a simple solution but i cant seem to figure it out. I have created a simple macro that I attached to a button on the QAT. The macro opens a template with the required addresses and it works fine. What I would like to add to the macro is that when it is executed, I would like the add attachment window to open automatically and if possible open to a specific location. Not a big problem but just trying to make this process faster.
This is my macro. Ideally I would like to have this macro in a word document and attach the active document to the outlook template.
Sub CreateFromTemplate()
Set MyItem = Application.CreateItemFromTemplate("C:\Users\oneilp6\Documents\test.oft")
MyItem.Display
End Sub
Hopefully this is a simple solution but i cant seem to figure it out. I have created a simple macro that I attached to a button on the QAT. The macro opens a template with the required addresses and it works fine. What I would like to add to the macro is that when it is executed, I would like the add attachment window to open automatically and if possible open to a specific location. Not a big problem but just trying to make this process faster.
This is my macro. Ideally I would like to have this macro in a word document and attach the active document to the outlook template.
Sub CreateFromTemplate()
Set MyItem = Application.CreateItemFromTemplate("C:\Users\oneilp6\Documents\test.oft")
MyItem.Display
End Sub