LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Macro to save file in changing directories?

I am trying to write a macro that will save the current spreadsheet in
a unique directory depending on an input supplied by the user. In
this case the user will input a month number. If they input "1" the
macro will save the file in a directory named "Jan". If "2" is
inputted it will save the file to "Feb" etc. What would the VBA
coding for this look like?

Would it be easier if I have the user just input "Jan"....then use
this info in the path for the save command?

Many thanks!

 
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
Simplify changing directories BobS9895 Excel Worksheet Functions 0 July 18th 06 07:22 PM
Using macro to save xls as txt without changing originial xls file ssciarrino Excel Programming 4 November 2nd 04 02:20 PM
Using Macro to Save xls to txt without changing file format SSciarrino Excel Programming 0 November 1st 04 06:15 PM
changing directories...with vba mjschukas Excel Programming 3 June 6th 04 10:01 PM
changing directories Andrea[_7_] Excel Programming 2 November 5th 03 09:22 PM


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

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"