LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Excel numbering in a workbook

Hi,

Right click any worksheet tab, view code and paste this in and run it.
Change the range to where you want the number

Sub numberem()
For x = 1 To Worksheets.Count
Sheets(x).Range("A1").Value = x
Next
End Sub

Mike

"forest8" wrote:

Hi

I currently have a excel workbook that has about 600 individual sheets. I
would like to hardcode a page number of each page. I don't really want to
enter the page numbers manually and was hoping that someone may have a macro
for this.

Any help will be greatly appreciated.



 
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
workbook page numbering Jost Excel Discussion (Misc queries) 1 January 28th 07 04:12 PM
Auto numbering in each sheet of a workbook John with dought in Excel Excel Discussion (Misc queries) 0 March 7th 06 05:58 PM
Turn Off Continuous Page Numbering in Workbook FuadsCurse Excel Discussion (Misc queries) 0 February 7th 06 10:06 PM
Page numbering for a whole WorkBook Rodger Slape Excel Worksheet Functions 2 June 27th 05 06:26 PM
Numbering sheets in workbook Red Excel Worksheet Functions 3 March 2nd 05 08:10 PM


All times are GMT +1. The time now is 12:54 PM.

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

About Us

"It's about Microsoft Excel"