Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-17-2015, 10:20 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Template Opening As Template Windows 7 64bit Template Opening As Template Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 4,049
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

To create a new document based on a template, you need code such as the following:



Code:
Sub CreateNewDocBasedOnTemplate()
Documents.Add "full path to template here"
End Sub
If you are trying to create a new, blank document, you can leave out the full path and just use Documents.Add.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
Reply

Tags
2010, template



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word Template Always Opening Hobbes Word 7 09-24-2014 11:00 PM
TOC not correct on opening a template Bluebell Word 7 02-05-2014 04:43 AM
Error message when opening any template spiff1116 Word 6 11-04-2013 04:44 PM
Template Opening As Template Automatic update of links in template - closing attached template without saving stefaan Word 2 11-02-2013 07:46 AM
Template "File In Use" when opening 2 documents based on the same template wendt Word 5 12-15-2009 12:37 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:48 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