Be REALLY grateful for some quick advice with this one.....

Audiojoe

Active Member
Joined
Feb 20, 2002
Messages
285
If I want to set a macro to save a file as a certain date, how do I do it?

At the moment, the macro copies a block of data, pastes it into a template, then I want it to save that template as last week's date. For instance, the file template is called Weekly Report Template, when the macro saves it I need it be saved as:

Weekly Report - 18th-24th February 2002

as that is the period that the report covers. However, of course NEXT week it will have to save it as:

Weekly Report - 25th Feb-3rd March 2002

and so on....

Can anyone help me?

:confused:
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Hi Joe,

Don't forget, those times of postings are local times in central (?) America, so at 07.30 many of our Excel buddies may not be 100% dedicated to a computer. To compound this, us other Brits are probably wasting our time doing things for our Bosses in the office so might not be able to invest as much *immediate* attention to posted problems as we'd ideally like to.

It's sometimes probably just as frustrating for us not to be able to solve posted problems straight away cos "real life" gets in the way - we're all in the same boat mate : MAX problems and MIN time !!

booayaka
Chris
:)
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top