change a template's default folder

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way to change the default folder that a user saves to when using
one specific template?
 
Is there any way to change the default folder that a user saves to when using
one specific template?

In that one template, create a macro like this (substituting your
folder path in the quotes):

Public Sub FileSaveAs
With Dialogs(wdDialogFileSaveAs)
.Name = "c:\windows\temp\"
.Show
End With
End Sub

The special macro name FileSaveAs means that the macro will be
executed whenever the user selects the Save As command on the File
menu. Other variations on this theme are described at
http://www.word.mvps.org/FAQs/MacrosVBA/ChangeSaveAsPath.htm.

If you need instructions for creating the macro, see
http://www.gmayor.com/installing_macro.htm.

The general idea of using macros to intercept built-in commands is
discussed at
http://www.word.mvps.org/FAQs/MacrosVBA/InterceptSavePrint.htm.
 
Thank you Jay! It's working perfectly!!

Lindy

Jay Freedman said:
In that one template, create a macro like this (substituting your
folder path in the quotes):

Public Sub FileSaveAs
With Dialogs(wdDialogFileSaveAs)
.Name = "c:\windows\temp\"
.Show
End With
End Sub

The special macro name FileSaveAs means that the macro will be
executed whenever the user selects the Save As command on the File
menu. Other variations on this theme are described at
http://www.word.mvps.org/FAQs/MacrosVBA/ChangeSaveAsPath.htm.

If you need instructions for creating the macro, see
http://www.gmayor.com/installing_macro.htm.

The general idea of using macros to intercept built-in commands is
discussed at
http://www.word.mvps.org/FAQs/MacrosVBA/InterceptSavePrint.htm.
 

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

Back
Top