Microsoft Excel + macro help

Associate
Joined
10 Aug 2006
Posts
704
Location
Warrington
Hi guys,

I need to write/record a macro which basically copies a worksheet and saves it as a new worksheet. But each time the Macro is clicked it needs to save the new sheet with a new name. Like 1 then 2, then 3 e.t.c

Anybody able to point me in the right direction???

Cheers
 
by worksheet i mean exactly what you said...but instead of the macro making the next sheet in the series "Sheet1" "Sheet2" I want it to say "Order1", "Order2" e.t.c

So data in worksheet "Data" then when I click a macro it copies worksheet "Data" into "Order1", then next time I click the macro it copies "Data" into "Order2".

Are you following mate? Cheers for any help btw, much appreciated!
 
Thanks! All I need it to do now is delete columns A to D in the newly copied sheet "Order1" e.t.c

You couldn't tell me what to put for that could you??

Cheers
 
Oh actually before it copies the sheet "Data" I need it to refresh the pivot table in the sheet, is that possible?
 
Ahh been away all week. Right I want the columns deleted completely. The data range will be columns a-c in a sheet called "Menu". Yes the pivot table will need to be in the order sheets please.

Cheers
 
Back
Top Bottom