Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
RENAMING WORKSHEETS
i have several worksheets with the weeks as the title. i need to change for
our new year. Can someone please give me the code to change the worksheets to add 7 days to each worksheet. example 10-8 and 10-15 and 10-22 etc. That would be very helpful Thank you! |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
RENAMING WORKSHEETS
mpStart = 8
For Each sh In Activeworkbook.Worksheets sh.Name = "10-" & mpStart mpStart = mpStart + 7 Next sh -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "LEOPARDSHIDEAWAY" wrote in message ... i have several worksheets with the weeks as the title. i need to change for our new year. Can someone please give me the code to change the worksheets to add 7 days to each worksheet. example 10-8 and 10-15 and 10-22 etc. That would be very helpful Thank you! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Renaming worksheets | Excel Discussion (Misc queries) | |||
Renaming worksheets | Excel Discussion (Misc queries) | |||
Batch renaming of worksheets | Excel Discussion (Misc queries) | |||
Problem renaming worksheets | Excel Discussion (Misc queries) | |||
Renaming Worksheets | Excel Worksheet Functions |