WORD question - Forcing the file name, save path and file type

lizziegirl

New Member
Joined
Apr 3, 2006
Messages
31
Hi all,
I have searched high and low for an answer here - I usually trust the Office Experts site to get me through with regards to Word but it seems to be "under maintenance" now for a long time.
My circumstance is that I have created a template in 2003. I will have users on both 2007 and 2003 using the template.
I have managed to work out some code to force the name and path when the user goes to save.
However I would like some code to give my 2007 users no choice but for the document to be saved as a doc rather than a docx.
So far I have the below (which I want to duplicate for FileSave as well).

Code:
'Dictate File Name in Dialog Box
Sub FileSaveAs()
With Dialogs(wdDialogFileSaveAs)
    .Name = "H:\Quality\CORPORATE DEPARTMENTS\" & ActiveDocument.Tables(3).Cell(1, 1).Range
    .Show
End With
End Sub

Is there anything that can be added here so the default type is a 97-2003 document?
Thanks in advance,
LizzieGirl
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Not my field of expertise but does adding
Code:
.Format = wdFormatDocument
just before '.Show' help?
 
Upvote 0
Thanks Peter, it worked..
Seems like it could be your area of expertise!!! Much appreciated, thanks for your time.
 
Upvote 0

Forum statistics

Threads
1,225,516
Messages
6,185,438
Members
453,289
Latest member
ALPOINT_AIG

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