WORD Default Filename in SaveAs Dialog Box

lizziegirl

New Member
Joined
Apr 3, 2006
Messages
31
Hello,

I am going insane trying to dictate the default filename to be saved as when the user saves for the first name. I have tried thousands of code variations but to no avail. I am able to do this and have the code for the same function in excel but just am not clever enough to tailor this to word.
Please help me!!!

There are three components to the filename.

(1) Always: The text "Case Management Plan"

(2) Variable: The text entered into the protected template form, the vital field being Text56 (Text Form Field)

(3) Variable: The date the form is created.

So therefore hopefully upon clicking save as, the default file name to come up in the dialog box should be "Case Management Plan" + Text56.Value + date + ".doc"

i.e. Case Management Plan John Smith 13th April 07.doc

I do not need a specific directory but would like to be able to prevent the user from changing this filename.

Thanks in advance
Lizzie
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,225,322
Messages
6,184,277
Members
453,225
Latest member
adelphiaUK

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top