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?
Insert Page Break Every Row (quickly insert page break in every nth row of the worksheet.)
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
In Excel, you can use the following VBA code to print the pages in reverse order. Do with the following steps:
|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 Next End Sub
4. Then press F5 key to run this code, and your worksheet will be printed in reverse order right now.
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:
Now the worksheet is printing in reverse order