Macro for opening a blank Word document from My Templates (Mac)
Hi everyone,
I am using Mac Office 2011. I regularly need to open and create new Word documents, using a customized template I created.
Usually, I have to go to File - New from template. The default choice is 'Print Layout View', I then have to navigate to the item above it - My Templates and then choose the template I created.
Because I do this lot, I am trying to look for a way to automate the process.
I know that to open a blank word document, you can use a shortcut: Command + N in Word. But there is no corresponding shortcut for directly opening my customized template. There is a shortcut for 'New from template' (Shift + Command + P), but I still have to use the mouse to navigate to My Templates and choose the specific template.
Is there a way to automate what I describe in the second paragraph? I tried recording a Macro while performing the steps, but it did not come out as what I wanted - instead of opening the customized template, it just opened a blank document. The VBA code from that recorded macro is provided below (I tried it twice, and it's the same):
Documents.Add Template:="Normal.dotm", NewTemplate:=False, DocumentType:=0
I have also tried the following 2 codes, after doing some googling online:
Documents.Add Template:=“Name of my template.dotx”
Documents.Add("Name of my template.dotx")
Neither of these works (note, I replaced the Name of my template with the actual name of the template)
Could anyone please help me with the macro? It would make my life really easier.
Thanks a lot!
|