Save Template Question.

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

Hi,

I would like to know if it is possible when saving a
template document via 'Save As' function, that
the 'filename' value that appears, can be different to the
one that appears (which is the same as the name of the
file).

example.

i open a template called 'temp.doc'
i modify document
I click 'save as'
value that appears in 'file name:' field shows temp.doc
Can i set something in the template so that what displays
is NOT 'temp.doc'. (i know i can overtype this)
 
In the template, create a macro called FileSaveAs containing this code:

With Dialogs(wdDialogFileSaveAs)
.Name = "My choice of filename"
.Show
End With
 
Note that if you are opening something called temp.doc, it is not a
template. Templates are .dot files, and if you open them they cannot be
saved as documents, only as templates. If you create a new document based on
a template, the suggested filename will be either the title property of the
template (if any) or the first text appearing in the document.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
You can't through the file menu, but you can use VBA to save a template as a
document, simply by

ActiveDocument.FileSaveAs "XXX.doc"

You appear to end up with a normal document, although there might well be
nefarious consequences not obvious to the naked eye. Presumably the menu
save option is disabled for a reason.
 
Back
Top