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

I have been having trouble getting a macro to work like I
want.

I want a macro to "save as" wookbook that will change
drive and folder in the "save as" "save in window" that
will allow me to change the file name but populate the new
drive and folder automaticly but allow me to input new
file name.

I have been able to create a statement, but I have to
manually change drive. I want to accomplish the change of
drive and folder w/o manual intervention.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Save As macro

Don't know if this is what you want, but give it a try.


Chdrive "D"
Chdir "D:\My Documents"

fname = Application.GetSaveAsFileName()

--
Regards,
Tom Ogilvy

tjgriffi wrote in message
...
I have been having trouble getting a macro to work like I
want.

I want a macro to "save as" wookbook that will change
drive and folder in the "save as" "save in window" that
will allow me to change the file name but populate the new
drive and folder automaticly but allow me to input new
file name.

I have been able to create a statement, but I have to
manually change drive. I want to accomplish the change of
drive and folder w/o manual intervention.



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
Macro for Save As Jeremy Excel Discussion (Misc queries) 2 December 7th 09 10:45 PM
Macro to Insert Current Date into cell - Macro to "Save As" Guy[_2_] Excel Worksheet Functions 4 December 12th 08 08:20 PM
Please help macro for save DP7 Excel Worksheet Functions 1 October 11th 07 10:31 PM
Macro to Save without the Save Message Ellen G Excel Discussion (Misc queries) 4 February 23rd 07 08:52 PM
Prompted to save changes after macro save - why? Izar Arcturus Excel Programming 2 December 10th 03 09:27 PM


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