Set default filename?

T

Thomas Olsson

After the user has created a new document I want to set the default
filename for the file (not save it to disk). Is this possible.
Properties like path & name are readonly. Workaround?

The user saves the document in a sharepoint doc.lib. and I like to
predefine the filename but it's up to the user to save it.

//Thomas Olsson
MCSD
 
C

Cindy M -WordMVP-

Hi Thomas,
After the user has created a new document I want to set the default
filename for the file (not save it to disk). Is this possible.
Properties like path & name are readonly. Workaround?
You can preset what the File/Save As dialog box displays as the file
name, but that won't include the path. There's a property you can use;
I believe the technique is somewhere on the word.mvps.org website.

Other than that, you'd need a macro named FileSaveAs to intercept the
built-in Word command. Using it, you can preset the dialog box before
showing it to the user.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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