Sometimes it's handy to know the number of print pages the current worksheet will produce.
Here's a function that you can use in VBA or on your worksheet...
[color blue]
Code:
Function TotalPrintPagesOnWorksheet() As Integer
With ActiveSheet
TotalPrintPagesOnWorksheet = .HPageBreaks.Count * (.VPageBreaks.Count + 1)
End With
End Function
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.