View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default How do I use a macro to save to a specific drive in Excel?

Something along the lines of :

Thisworkbook.SaveAs "C:\RootFolder\" & Format(Date,"yyyymmm") &
"\Basename.xls"

might give you some ideas.
--
Regards,
Tom Ogilvy

"Meredith" wrote in message
...
I wrote a macro in excel to facilitate creating monthly reports. I want

it
to save to a new folder each month (ie. the current monthly folder), but I

am
not sure how to write a changing "save as" formula.