DefaultFilePath with Read Only files

J

jw

Word 2003; WinXP Personal

I have several simple macros (with toolbar buttons) to change the
default Save As directory. For example:

**********************************
Sub HouseholdAsDefault

Options.DefaultFilePath(Path:=wdDocumentsPath) = ("C:\Documents and
Settings\<my name>\My Documents\Household")

End Sub
**********************************

This works fine with a newly created file. When I first save it, the
Save As dialogue is in the "Household" folder.

It doesn't work for boilerplate files that have been set as Read Only
in the desktop. When I open such a file, I immediately get prompted to
Save As in the folder in which the boilerplate is located. I press Esc
and run the above macro, then attempt to Save As. The Save As dialogue
still defaults to the boilerplate file's folder, not to Household.

Is there any way to force a change in the default Save As folder in
this situation? (Note: ChangeFileOpenDirectory doesn't work either.)

Thanks.
 

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