Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 104
Default Open the SaveAs Dialogbox

I am trying to open the SaveAs dialogbox when the user clicks on a
commandbutton. Has anybody managed to do this any help would be much
appreciated.
Regards
Charles
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Open the SaveAs Dialogbox

Application.Dialogs(xlDialogSaveAs).Show

Steve



"vqthomf" wrote in message
...
I am trying to open the SaveAs dialogbox when the user clicks on a
commandbutton. Has anybody managed to do this any help would be much
appreciated.
Regards
Charles



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Open the SaveAs Dialogbox

I hope this helps. Call one of the built in dialogs.

Sub ShowSaveAsDialog()
Dim myDialog As Dialog
Set myDialog = Application.Dialogs(xlDialogSaveAs)
myDialog.Show
End Sub

Similarly, if you want to use the other 100+ dialog collection, have a
look at the list of dialog collection at : http://www.sockofiles.350.com/dialoglist.txt

I hope this helps

Selva V Pasupathy
For more on Excel, VBA, and other resources
Please visit: http://socko.wordpress.com
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot open the DBF created from the SaveAs option of Excel DPM Excel Programming 0 July 24th 08 08:35 AM
Open Excel with a XML file and SaveAs XLS Li Pang Excel Programming 0 July 3rd 06 10:17 PM
Open DialogBox in VBA schoujar[_16_] Excel Programming 5 November 4th 05 03:36 AM
Keep original wkbk open after SaveAs? Ed Excel Programming 2 May 2nd 05 10:12 PM
how to detect if user has a dialogbox open Von Shean Excel Programming 2 January 12th 04 02:35 PM


All times are GMT +1. The time now is 11:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"