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: 3
Default Need help with a repetative task

I have a task that involves the following steps.

1. Open Excel file
2. Invoke Macro with customer menu button
3. After macro runs I select File-Save-As...then I change a date that
resides in the filename (looks like this) XXXX_todaysdate).xls
4. Close file (keep Excel open)

I know how to write the macro to save (as is) and close the file but I
don't know how to get it grab todays date and text it into the
filename before saving.

"Ideally"...I'd like to have the Macro rename the file with BOTH
todays date AND text in a fixed cell in the spreadsheet.

Such as: Monthly_Report_010107_.xls (Monthly Report) being the text in
the cell.

I have to run this on multiple files so I'd really like to see how to
automate this part.

Any suggestions you could give me would be appreciated.

Ken

 
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
How can I reduce repetative code leerem Excel Discussion (Misc queries) 4 August 3rd 08 12:20 PM
Repetative text smack Excel Worksheet Functions 4 May 27th 07 12:27 AM
Repetative Tasks and Variables alecbowman[_2_] Excel Programming 2 June 6th 06 11:28 PM
Repetative Row Deletes scratching my head Excel Discussion (Misc queries) 1 May 30th 05 09:38 PM
Repetative conditional formatting Danielle Excel Programming 2 February 16th 05 12:48 AM


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