1

I have excel file with several sheets, and I need to know how many pages per each sheet. Thank you

Tina
  • 21
  • 1
  • 2

1 Answers1

0

When the Excel file view is set on Page Break Preview, the pagination becomes visible. I think that this is what you need.

The pagination depends by the installed printer on that machine, the Paper Size set for the sheet and if any additional page breaks that are set for the sheet.

There is no such a function that returns the number of pages. MS Excel doesn't store such information inside the Excel file format.
You can write function that interpret the bellow elements. You must also take care of how many rows fit in Paper Size height (each row height has a role) and how many columns fit in Paper Size width (each column width has a role).

alex.pulver
  • 2,107
  • 2
  • 31
  • 31