Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
MysticMarley
 
Posts: n/a
Default creating a macro for a "Save As" box

How do I create a macro that will display the "Save As" dialog box? When I
create it using the the Macro Wizard, it doesn't bring up the "Save As"
window. It just saves at the previous location and name. My attempts to
alter the VBA code have failed.
  #2   Report Post  
FSt1
 
Posts: n/a
Default

hi,
add this to the macro wizard code

Application.Dialogs(xlDialogSaveAs).Show

regards
FSt1

"MysticMarley" wrote:

How do I create a macro that will display the "Save As" dialog box? When I
create it using the the Macro Wizard, it doesn't bring up the "Save As"
window. It just saves at the previous location and name. My attempts to
alter the VBA code have failed.

  #3   Report Post  
MysticMarley
 
Posts: n/a
Default

Thank you FSt1! It worked perfectly and completed the final suggestion from
my manager for a spreadsheet project.

"FSt1" wrote:

hi,
add this to the macro wizard code

Application.Dialogs(xlDialogSaveAs).Show

regards
FSt1

"MysticMarley" wrote:

How do I create a macro that will display the "Save As" dialog box? When I
create it using the the Macro Wizard, it doesn't bring up the "Save As"
window. It just saves at the previous location and name. My attempts to
alter the VBA code have failed.

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 original data after macro is run again MINAL ZUNKE New Users to Excel 3 July 7th 05 12:48 PM
Macro to save a file as ynissel Excel Discussion (Misc queries) 4 May 26th 05 02:48 PM
Macro excel save mrbalaje Excel Discussion (Misc queries) 1 May 12th 05 06:27 PM
macro to save file automaticaly? david Excel Discussion (Misc queries) 1 May 6th 05 05:21 PM
Creating a macro Macro Insite Excel Worksheet Functions 3 November 25th 04 11:08 PM


All times are GMT +1. The time now is 11:09 AM.

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"