Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you have a workbook in EXCEL with one sheet for each day of the month, how
can you change all of the names of the sheets at one time for the new month? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Example of your naming convention?
-- Don Guillett SalesAid Software "Peter Multach" <Peter wrote in message ... If you have a workbook in EXCEL with one sheet for each day of the month, how can you change all of the names of the sheets at one time for the new month? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have assumend sheetnames are month(day) ie March1, March 2 etc if this is
incorrect simply swap the x around. Sub renameall() x = 1 Dim ws As Worksheet For Each ws In ThisWorkbook.Worksheets ws.Name = MonthName(Month(Now())) & x x = x + 1 Next ws End Sub "Peter Multach" wrote: If you have a workbook in EXCEL with one sheet for each day of the month, how can you change all of the names of the sheets at one time for the new month? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find/Replace Across Entire Workbook in Excel 2000 | Excel Discussion (Misc queries) | |||
find and replace within workbook macro | Excel Discussion (Misc queries) | |||
how do I find names in a workbook full of names | Excel Discussion (Misc queries) | |||
find and replace, within workbook | Excel Discussion (Misc queries) | |||
Find / Replace sheets vs workbook in VB | Excel Worksheet Functions |