Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Page number within a worksheet

How can thru programming we can get page number within an excel worksheet
--
Anupam
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Page number within a worksheet

Here is the code to do it

With ActiveSheet.PageSetup
.CenterFooter = "Page &P"
End With

I assume you know to put the code in a module.
"Anupam Soral" wrote:

How can thru programming we can get page number within an excel worksheet
--
Anupam

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 to increment page number in a cell of worksheet Zubair Excel Discussion (Misc queries) 2 February 5th 10 01:46 PM
Unique Footer for each page in worksheet with a page number Keys2thecitY Excel Worksheet Functions 0 September 7th 09 06:06 AM
how do I add a page number as a background for the worksheet? Date in the Background of a Spreadsheet. Excel Discussion (Misc queries) 2 August 20th 08 08:46 PM
TOC: the first page number of each worksheet annoni Excel Discussion (Misc queries) 1 July 12th 08 05:30 AM
Page number in middle of worksheet Martec Excel Discussion (Misc queries) 1 November 9th 06 02:30 PM


All times are GMT +1. The time now is 08:41 PM.

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"