Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Not sure exactly what your up to, but here's my thoughts: Sheets("Sheet1").Name = 1 Sheets("Sheet2").Name = 2 Sheets("Sheet3").Name = 3 Or if you want to do them in a loop based on their orignal names, Dim i As Integer For i = 1 to 3 Sheets("Sheet" & i).Name = i Next If you want to just rename the sheets based on how they are currentl ordered, Dim i As Integer For i = 1 To Worksheets.Count Sheets(i).Name = i Next Hope this helps, -- kkkni ----------------------------------------------------------------------- kkknie's Profile: http://www.excelforum.com/member.php...nfo&userid=754 View this thread: http://www.excelforum.com/showthread.php?threadid=26966 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i rename a sheet if the rename tab is inactive? | Excel Worksheet Functions | |||
Move data to new sheet - rename sheet based on criteria ? | Excel Discussion (Misc queries) | |||
Rename active sheet | Excel Programming | |||
Rename active sheet | Excel Programming | |||
Rename Active Sheet | Excel Programming |