#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Sheet number change

Sheet number change
I have a multi sheet workbook and need to change the worksheet numbers on
each page. I have tried the following, but it doesn't work.

Any help appreciated!

Sub NewNumber()

nSheet = 2

Do While nSheet <= Sheets.Count

For I = 2 To 3

Sheets(nSheet).Select

Cells.Replace What:="1 '!$C$13", Replacement:="(I) '!$C$13", LookAt:=xlPart,
SearchOrder _

:=xlByRows, MatchCase:=False

nSheet = nSheet + 1

Next I

Loop

End Sub

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change the Excel sheet tab bar to display more sheet tabs Rockie Excel Discussion (Misc queries) 3 August 18th 06 02:29 PM
change page number in the same sheet viman_in Excel Discussion (Misc queries) 1 June 18th 06 06:40 PM
change info in other cells when i change a number in a drop list? macbr549 Excel Discussion (Misc queries) 2 September 11th 05 02:07 AM
How do I change the number on copy sheet so I don't have to renam crystal Excel Worksheet Functions 0 August 15th 05 07:23 AM
Change workbook sheet reference using cell A1 to change a vairable Reed Excel Worksheet Functions 4 January 20th 05 08:15 PM


All times are GMT +1. The time now is 10:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"