Set template to save in different location

T

TobyR

I've created a Word doc template and I would like to arrange it so that
when someone first saves the document the folder they are prompted to
save in is not 'My Folders' but some other network location I've
specified in the template. Is this possible?
 
J

Jay Freedman

TobyR said:
I've created a Word doc template and I would like to arrange it so
that when someone first saves the document the folder they are
prompted to save in is not 'My Folders' but some other network
location I've specified in the template. Is this possible?

It is possible, but only with a macro. The article
http://www.word.mvps.org/FAQs/MacrosVBA/ChangeSaveAsPath.htm explains the
technique, although not how to write a complete macro.

Install this macro in your template (see
http://www.gmayor.com/installing_macro.htm if needed):

Sub FileSave()
If Len(ActiveDocument.Path) = 0 Then
With Dialogs(wdDialogFileSaveAs)
.Name = "Y:\temp\"
.Show
End With
Else
ActiveDocument.Save
End If
End Sub

Change the path in quotes to the location you want. It could be in UNC
format (\\server\share) instead of a mapped drive path.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top