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


How to print pages in reverse order of a worksheet?

In Excel, when you print the pages, the first page of the worksheet will be printed at first by default. But, in certain case, you need to print the pages of the worksheet in reverse order, how could you do?

Print pages in reverse order of a worksheet with VBA code

Print pages in reverse order of a worksheet with Kutools for Excel good idea3

Insert Page Break Every Row (quickly insert page break in every nth row of the worksheet.)

doc insert page break every row

arrow blue right bubble Print pages in reverse order of a worksheet with VBA code

In Excel, you can use the following VBA code to print the pages in reverse order. Do with the following steps:

formula Never need to worry about long long formulas in Excel anymore! Kutools for Excel's Auto Text can add all formulas to a group
as auto text, and liberate your brain! Click here to know Auto Text     Click here to get free trial

1. Activate your worksheet that you want to print in reverse order.

2. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.

3. Click Insert > Module, and paste the following code in the Module Window.

VBA code: print pages in reverse order of a worksheet

Sub ReversePrint()
'Update 20140625
Dim xPages As Long
xPages = ExecuteExcel4Macro("GET.DOCUMENT(50)")
For xIndex = xPages To 1 Step -1
    Application.ActiveSheet.PrintOut from:=xIndex, To:=xIndex
End Sub

4. Then press F5 key to run this code, and your worksheet will be printed in reverse order right now.

arrow blue right bubble Print pages in reverse order of a worksheet with Kutools for Excel

Maybe some of the Excel green hand are not familiar with VBA, in this case, you can free install Kutools for Excel, and use the Print Pages in Reverse Order function to quickly print the worksheet in a reverse order

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

After free installing Kutools for Excel, please do as below:

Active the worksheet you want to print in reverse order, and click Enterprise > Printing > Print Pages in Reverse Order. See screenshot:doc print in reverse order

Now the worksheet is printing in reverse order

pay attention1If you are interested in this addi-in, click here to download the 60-days free trial.

Relative Articles:

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.