Click to See Complete Forum and Search --> : Make 'Save as' dialog box appear
daimous
Jun 13th, 2006, 06:54 PM
hi guys! how can make the 'Save as' dialog box appear using macro. Any inputs will be greatly appreciated.
RobDog888
Jun 13th, 2006, 07:01 PM
In which app? Do you just need to save the workbook or document or save a custom file?
daimous
Jun 13th, 2006, 07:44 PM
in which app? to any MS office...save? i want the 'Save as' dialog box appear in order for the user to specify his/her own filename and for his/her convient also.
RobDog888
Jun 13th, 2006, 07:45 PM
But which office app are you using as they have different methods in each.
daimous
Jun 13th, 2006, 08:42 PM
excel and word.
RobDog888
Jun 13th, 2006, 09:03 PM
Excel:
Application.GetSaveAsFilename(...
And for Word:
Application.Dialogs(wdDialogFileSaveAs).Show
daimous
Jun 14th, 2006, 01:03 AM
thanks for that!!!!
daimous
Jun 14th, 2006, 01:19 AM
wait..i have problem with the dialog box in my excel app..why is it when i save it, say for example in my document, why is it i can find it there..maybe i think the file isn't actually save..can you give me the full syntax for that? currently i have the code below.
Application.GetSaveAsFilename (ThisWorkbook.Name)
RobDog888
Jun 14th, 2006, 08:26 AM
Heres all the arguments filled in.
Application.GetSaveAsFilename InitialFileName:=ThisWorkbook.Name, FileFilter:="Excel Workbooks (*.xls),*.xls", FilterIndex:=1, Title:="SaveAs Dialog Example"
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.