Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Need Save As Dialog Box

How do I get the save as dialog box to come up?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default Need Save As Dialog Box

I think you can do:

fname = Application.Dialogs(xlDialogSaveAs).Show


"Justin Philips" wrote:

How do I get the save as dialog box to come up?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Need Save As Dialog Box

Just some added information:

fname would contain True or False based on whether the Save was successful
or not. It would not contain the name/new name of the file.

--
Regards,
Tom Ogilvy


"barnabel" wrote:

I think you can do:

fname = Application.Dialogs(xlDialogSaveAs).Show


"Justin Philips" wrote:

How do I get the save as dialog box to come up?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Need Save As Dialog Box


Application.Dialogs(xlDialogSaveAs).Show

"Justin Philips" wrote:

How do I get the save as dialog box to come up?


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Need Save As Dialog Box

If you want more control, use
fname = Application.GetSaveAsFilename()

set the help on that function for arguments you can pass to the name.

Not that it does not perform the save. You can evaluate the user's choice
and then execute a
thisworkbook.SaveAs fName

if you agree.

--
Regards,
Tom Ogilvy


"Justin Philips" wrote:

How do I get the save as dialog box to come up?




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
Save Excel Worksheet As CSV - No Save As Dialog SQLServant Excel Programming 1 September 29th 06 12:36 PM
how to get disk icon on save button of save as dialog like 2000 RichT Excel Discussion (Misc queries) 2 March 9th 06 08:13 PM
Save As Dialog Larry Dodd Excel Programming 6 March 26th 05 12:11 PM
Changing Save As Type in Save as dialog box Phill Excel Programming 2 August 22nd 03 12:38 PM
Save As Dialog Bob Phillips[_5_] Excel Programming 0 July 8th 03 11:09 PM


All times are GMT +1. The time now is 02:32 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"