Can I force the saving of a templated document in a specific folde

C

clintjjohnson

I've a form document for which I've created a Word template. I want the
completed forms to all be saved in a specific location, and the document
files named in a specific way.

It there a way to configure a template to do this?

Clint Johnson
Homewood, IL
 
C

Cindy M.

Hi Clint,
I've a form document for which I've created a Word template. I want the
completed forms to all be saved in a specific location, and the document
files named in a specific way.

It there a way to configure a template to do this?
It would require using macros.

You could, for example, have a macro named FileSave, and another named
FileSaveAs. These would intercept the built-in Word commands of the same
name. In them, you would specify what you want to have. For example:

Sub FileSaveAs()
Dim sFileName as String

sFileName = InputBox("Type in the file name")
ActiveDocument.SaveAs("C:\Foldername\" & sFileName)
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

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