» Print the pages in reverse order using VBA in Microsoft Excel
VBA macro tip contributed by Erlandsen Data Consulting offering Microsoft Excel Application development, template customization, support and training solutions
CATEGORY - Printing in VBA
VERSION - All Microsoft Excel Versions
Sub PrintInReverseOrder()
Dim TotalPages As Long, p As Long
TotalPages = (ActiveSheet.HPageBreaks.Count + 1) * _
(ActiveSheet.VPageBreaks.Count + 1)
For p = TotalPages To 1 Step -1
'ActiveSheet.PrintOut p, p
Debug.Print "Printing page " & p & " of " & TotalPages
Next p
End Sub
Book Store:
Recommended Books:
- Microsoft PowerPoint Version 2002 Step by Step
- Microsoft Word Version 2002 Step By Step (With CD-ROM)
- MP Managerial Accounting w/ Topic Tackler, Net Tutor, & PowerWeb
- Microsoft Office Xp: Advanced Concepts and Techniques: Word 2002, Excel 2002, Access 2002, Powerpoint 2002
- Quantitative Methods in Derivatives Pricing: An Introduction to Computational Finance
- The Basics of Finance: Financial Tools for Non Financial Managers
No comments have been submitted.

