Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple VBA question....

Status
Not open for further replies.

AggieTL

Programmer
Jul 29, 2004
1
US
What's the equivalent VBA code in Visio for this in Word?

Application.Dialogs(wdDialogFileSaveAs).Show

Just trying to pull up the standard "save as" dialog box!

Something I'm sure is simple...but eludes me!

Thanks,
ML
 
The easy way is to add a CommonDialog control, name it cdl1 and then use something like:
[tt]
cdl1.ShowSave
.SaveAs cdl1.FileName
[/tt]

You will need to set default properties (such as initial directory and filetype) in the properties window for the control



________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top