![]() |
#2
|
||||
|
||||
![]()
Hi MYGS,
That is how Word templates work. If you add the following code to your template, it will prompt the user to save immediately a new file is created, using the template's name. From then on, the document can be edited & saved as per normal. Code:
Private Sub Document_New() With Dialogs(wdDialogFileSaveAs) .Name = Split(ThisDocument.AttachedTemplate.Name, ".")(0) .Show End With End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Preventing word/excel from trying to open external template locations | Perhill | Office | 0 | 03-02-2011 04:44 AM |
![]() |
TL86 | Excel | 4 | 02-21-2011 08:08 AM |
Upgraded from Office 2007 to Office 2010, now can't open Outlook | MDuff | Outlook | 2 | 01-27-2011 01:06 PM |
License Office Standard 2010 and Home and business 2010 | papypaul2 | Office | 0 | 11-05-2010 08:55 AM |
Macro to open template not working | Brandi | Mail Merge | 2 | 06-24-2010 09:29 AM |