![]() |
|
#1
|
|||
|
|||
|
Hi guys I have recorded a macro of myself opening a template however when these are used the file opens as a template and not a document using that template so when anything is saved on this it will overwrite the template file.. any idea why?
|
|
#2
|
||||
|
||||
|
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
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
|
#3
|
|||
|
|||
|
Try recording a macro of you creating a new document based on the template.
Templates in Microsoft Word Stefan has given you an idea of what the macro will look like. |
|
| 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 |
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 |