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

Derek,

use the GetSaveAsFileName dialog, sort of like thois

fileSaveName = Application.GetSaveAsFilename( _
initialfilename:=Range("A1"), _
fileFilter:="Microsoft Excel Files (*.xls), *.xls")
If fileSaveName < False Then
MsgBox "Save as " & fileSaveName
End If


--

HTH

Bob Phillips

"Derek" wrote in message
...
When the user selects "Save As..." I would like the dialog
box to display a default value (from a cell on a
worksheet) for the the name of the file to save. Any help
would be appreciated.



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 as Dialog box size [email protected] New Users to Excel 2 January 18th 08 03:59 PM
Save as dialog David T Excel Discussion (Misc queries) 7 September 28th 07 05:12 PM
Help with custom save as dialog box. control freak Excel Discussion (Misc queries) 0 July 21st 06 03:23 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
Override save as Dialog box Raza Excel Worksheet Functions 2 December 16th 05 07:22 PM


All times are GMT +1. The time now is 01:49 PM.

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

About Us

"It's about Microsoft Excel"