Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like a macro to copy the current sheet with appending 01, 02 etc
after it and so on. Example: If the current Worksheet was called "WeekA" if I ran the macro 4 times I would result the following worksheets. WeekA (current) WeekA01 WeekA02 WeekA03 WeekA04 If I then exited the Document and opened it again and ran the macro on "WeekA" worksheet again it would create "WeekA05" Not a VBA man - only got this far:- Sub CopyRen() Dim shtName As String shtName = ActiveSheet.Name ActiveSheet.Copy after:=ActiveSheet ActiveSheet.Name = shtName & "01" Sheets(shtName).Activate End Sub Thanks John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to copy a sheet and rename it with the value of two cells from the source sheet? | Excel Programming | |||
Copy/Rename a sheet | Links and Linking in Excel | |||
Button to copy sheet, rename sheet sequencially. | Excel Programming | |||
Copy a sheet and rename it | Excel Programming | |||
copy Sheet and rename it! | Excel Programming |