Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to count the number of printed pages in a sheet?

Before printing a sheet, you may want to know the total number of the printed pages in advanced. Here, this article, I am going to introduce the tricks for you.

Count the number of printed pages by Print feature

Count the number of printed pages by VBA code

Count the number of printed pages by Kutools for Excelgood idea3


Count the number of printed pages by Print feature


To count the number of printed pages before printing, you can go to the Print to view the counting number.

Enable the sheet you want to count the printed pages, and click File > Print, then you can view the number of printed pages.
doc count printed pages 1

Note: you can change the printing scale from the drop down list under Settings.
doc count printed pages 2


Count the number of printed pages by VBA code

There also is a VBA code which can tell you the number of printed pages in a sheet.

1. Activate the sheet you want to count, press Alt + F11 keys to display Microsoft Visual Basic for Applications window.

2. Click Insert > Module, then paste below code to the Module.

VBA: Count number of printed pages in a sheet

Sub ShowMe()
    MsgBox ExecuteExcel4Macro("GET.DOCUMENT(50)") & _
        " pages will be printed."
End Sub

3. Press F5 key to run the code, and then a dialog pops out to tell you the number of printed pages. See screenshot:
doc count printed pages 3


Count the number of printed pages by Kutools for Excel

If you have Kutools for Excel, you can apply its Print Specified Pages utility, and then view the printed pages of the active sheet.

Kutools for Excel, with more than 120 handy functions, makes your jobs easier. 

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

Enable the sheet you want to count its pages, click Enterprise > Printing > Print Specified Pages, and then view the number of pages in the popping dialog. See screenshot:
doc count printed pages 4

Note: You can print odd pages only, even pages only or specific pages only with Print Specified Pages utility.

Tip. If you want to have a free trial of the Print Specified Pages function, please go to free download Kutools for Excel first, and then go to apply the operation according above steps.


Recommended Productivity Tools for Excel

kte tab 201905

Kutools for Excel Helps You Always Finish Work Ahead of Time, and Stand Out From Crowd

  • More than 300 powerful advanced features, designed for 1500 work scenarios, increasing productivity by 70%, give you more time to take care of family and enjoy life.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Brings Tabbed Browsing and Editing to Microsoft Office, Far More Powerful Than The Browser's Tabs

  • Office Tab is designed for Word, Excel, PowerPoint and Other Office Applications: Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.