Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm creating an invoice book and I want to number each page eg Inv 09/1, Inv
09/2, Inv 09/3; etc. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The first step is to create a blank workbook with the correct number of blank
worksheets: Sheet1, Sheet2, .......... Then run the following macro to rename the sheets: Sub RenameSheets() Dim sh As Worksheet Dim b As String, c As Variant b = "09_" c = 1 For Each sh In Worksheets sh.Name = b & c c = c + 1 Next End Sub Note that _ is used. That is because /\ are not allowed in tab names. -- Gary''s Student - gsnu200859 "Cyara" wrote: I'm creating an invoice book and I want to number each page eg Inv 09/1, Inv 09/2, Inv 09/3; etc. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I delete pages in a worksheet? | Excel Worksheet Functions | |||
linking worksheet pages | Links and Linking in Excel | |||
Blank Worksheet Pages | New Users to Excel | |||
How do I delete pages 4 through 48 of my worksheet? | Excel Discussion (Misc queries) | |||
numbering all pages in worksheet | Excel Discussion (Misc queries) |