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
In Excel, you can use the following VBA code to print the pages in reverse order. Do with the following steps:
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
Dim xPages As Long
xPages = ExecuteExcel4Macro("GET.DOCUMENT(50)")
For xIndex = xPages To 1 Step -1
Application.ActiveSheet.PrintOut from:=xIndex, To:=xIndex
4. Then press F5 key to run this code, and your worksheet will be printed in reverse order right now.
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
Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
More than 300 powerful features. Supports Office/Excel
2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features
30-day free trial. 60-day money back guarantee.