Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-07-2015, 05:59 AM
yinswenti yinswenti is offline Macro for opening a blank Word document from My Templates (Mac) Mac OS X Macro for opening a blank Word document from My Templates (Mac) Office for Mac 2011
Novice
Macro for opening a blank Word document from My Templates (Mac)
 
Join Date: Feb 2015
Posts: 4
yinswenti is on a distinguished road
Default 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!
Reply With Quote
 

Tags
new document, open, template

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro for opening a blank Word document from My Templates (Mac) Need Help With Opening a Word Document PosseJohn Word VBA 1 12-06-2013 01:16 PM
Macro for opening a blank Word document from My Templates (Mac) Opening PPT without a blank slide Welshie82 PowerPoint 4 09-30-2013 03:28 PM
Macro for opening a blank Word document from My Templates (Mac) All my word documents are opening as blank. Omni1 Word 1 07-14-2011 04:23 PM
Word document not opening 7beats Word 2 04-16-2010 12:40 AM
Opening word document problem SPARKY77 Word 4 11-02-2009 01:34 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:26 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft