Template Customized Save Locations

V

Vinny B

Hello:

I have several templates i have created in word. I need each template
to save in a different location. For example:

1) Template 1 will auto default to save in my documents.
2) Template 2 will auto default to save in my photos.

Is there a way to have a auto default option for indviduale ms word templates?

Thank you very much Vinny
 
G

Graham Mayor

Word will start with the documents folder set in Word options file
locations, until you open a document from a different folder which will then
become the active folder until you either change the folder or re-start
Word. However you can intercept the File Save command in the template with a
macro stored in the template e.g.

Sub FileSave()
On Error Resume Next
ChangeFileOpenDirectory "D:\My Documents\My Pictures"
ActiveDocument.Save
ActiveWindow.Caption = ActiveDocument.FullName
End Sub

Change the path to that which you require the document to make the initial
save. Thereafter re-saving the document will save it to the folder it was
opened from.
http://www.gmayor.com/installing_macro.htm

DO NOT save this macro in the normal template.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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