Is it possible to define the name of a new document created from a document template (*.dot)?
i.e. create vbforums.dot then the new file is called vbforums.doc instead of Document1.doc
Printable View
Is it possible to define the name of a new document created from a document template (*.dot)?
i.e. create vbforums.dot then the new file is called vbforums.doc instead of Document1.doc
If you look at the Name property of the Document object in the object browser, its flagged as read-only, so you won't be able to change it. Sorry.
What I did before was to createa temp document off of the template and saved it with the name I wanted. Then displayed it to the user as a new document and set the .Saved property of the document to False so when they close the document it will prompt them to save it somewhere.