Would the files created from this template always be stored in the same
specific folder, or would the folder depend on some other factor e.g. the
protocol? In which case how would the macro know how to choose that folder
when there is no data entered into the document for it to evaluate?
The following will change the file open directory to that indicated (here
D:\My Documents\Test\Versions\ - which must pre-exist) and give the user the
opportunity to name the file
Sub Autonew()
On Error GoTo UserCancelled
ChangeFileOpenDirectory "D:\My Documents\Test\Versions\"
ActiveDocument.Save
Exit Sub
UserCancelled:
MsgBox "User cancelled - document not saved!", _
vbCritical, "Error"
End Sub
http://www.gmayor.com/installing_macro.htm
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site
www.gmayor.com
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>