Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bawbee
 
Posts: n/a
Default Is it possible to print the pages of a workbook in reverse order?

In MS Word it is possible to select an option to print pages in reverse
order. Can I do this in Excel and if so, how?
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Some printers support this option and you can choose it from the:
File|Print|Properties button (each printer is different, though)

If your printer doesn't support this, you could use a macro:

Option Explicit
Sub testme01()

Dim TotalPages As Long
Dim pCtr As Long

TotalPages = ExecuteExcel4Macro("GET.DOCUMENT(50)")

For pCtr = TotalPages To 1 Step -1
ActiveSheet.PrintOut _
Preview:=True, _
From:=pCtr, to:=pCtr
Next pCtr

End Sub

This actually sends individual print jobs to the printer. If your printer
prints page separators, you may not want to do this.

Change the preview:=true to False when you're done testing.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm



Bawbee wrote:

In MS Word it is possible to select an option to print pages in reverse
order. Can I do this in Excel and if so, how?


--

Dave Peterson
  #3   Report Post  
Bawbee
 
Posts: n/a
Default


Thank you for the quick reponse. I guess this means that Excel does not
support "reverse print order" in the way that Word does?


"Dave Peterson" wrote:

Some printers support this option and you can choose it from the:
File|Print|Properties button (each printer is different, though)

If your printer doesn't support this, you could use a macro:

Option Explicit
Sub testme01()

Dim TotalPages As Long
Dim pCtr As Long

TotalPages = ExecuteExcel4Macro("GET.DOCUMENT(50)")

For pCtr = TotalPages To 1 Step -1
ActiveSheet.PrintOut _
Preview:=True, _
From:=pCtr, to:=pCtr
Next pCtr

End Sub

This actually sends individual print jobs to the printer. If your printer
prints page separators, you may not want to do this.

Change the preview:=true to False when you're done testing.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm



Bawbee wrote:

In MS Word it is possible to select an option to print pages in reverse
order. Can I do this in Excel and if so, how?


--

Dave Peterson

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

Yep.

But maybe your printer does?

Bawbee wrote:

Thank you for the quick reponse. I guess this means that Excel does not
support "reverse print order" in the way that Word does?

"Dave Peterson" wrote:

Some printers support this option and you can choose it from the:
File|Print|Properties button (each printer is different, though)

If your printer doesn't support this, you could use a macro:

Option Explicit
Sub testme01()

Dim TotalPages As Long
Dim pCtr As Long

TotalPages = ExecuteExcel4Macro("GET.DOCUMENT(50)")

For pCtr = TotalPages To 1 Step -1
ActiveSheet.PrintOut _
Preview:=True, _
From:=pCtr, to:=pCtr
Next pCtr

End Sub

This actually sends individual print jobs to the printer. If your printer
prints page separators, you may not want to do this.

Change the preview:=true to False when you're done testing.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm



Bawbee wrote:

In MS Word it is possible to select an option to print pages in reverse
order. Can I do this in Excel and if so, how?


--

Dave Peterson


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print all charts in a workbook (multiple worksheets) aewsaws Charts and Charting in Excel 4 May 12th 23 03:45 AM
HOW DO I PRINT ALL PAGES AT ONCE IN A WORKBOOK THAT HAS ABOUT 20 . HASZIE Excel Discussion (Misc queries) 1 April 13th 05 05:44 PM
How to print a worksheet but number the pages by workbook Frank Clayton Excel Discussion (Misc queries) 2 January 10th 05 10:52 PM
print entire workbook default KatGat01 Excel Discussion (Misc queries) 3 December 14th 04 10:12 PM


All times are GMT +1. The time now is 05:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"