View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Art Vandelay[_2_] Art Vandelay[_2_] is offline
external usenet poster
 
Posts: 6
Default Counting pages for tab

G'day All

Would anyone know the macro to count the number of pages each that would
print out for each tab.

For example you had 3 tabs.
First one is the summary page (where the answer to this question goes)
Second one has data in it and prints out 5 pages
Third one has 3 pages.

So the answer would be (assuming starting at A1)
1
5
3

Thanks in advance.