View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
JR Form[_2_] JR Form[_2_] is offline
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