Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Wink
 
Posts: n/a
Default I need to print only odd pages & then even pages

I need to print only odd pages & then even pages
so paper will be double sided
  #2   Report Post  
Posted to microsoft.public.excel.misc
Paul B
 
Posts: n/a
Default I need to print only odd pages & then even pages

Wink, some printers have an option to do this, if not here is some code by
Gord Dibben to do it

Sub PrintDoubleSided()
'Will print odd or even pages
'By Gord Dibben
Dim Totalpages As Long
Dim pg As Long
Dim oddoreven As Integer
On Error GoTo enditt
Totalpages = ExecuteExcel4Macro("Get.Document(50)")
oddoreven = InputBox("Enter 1 for Odd, 2 for Even")
For pg = oddoreven To Totalpages Step 2
ActiveWindow.SelectedSheets.PrintOut from:=pg, To:=pg
Next pg
enditt:
End Sub


--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"Wink" wrote in message
...
I need to print only odd pages & then even pages
so paper will be double sided



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
Should all pages in a workbook print in color? Billy Excel Discussion (Misc queries) 1 March 21st 06 08:51 AM
Print pages in a different order dlb1228 Excel Discussion (Misc queries) 2 February 23rd 06 09:31 PM
Print Odd/ Even or specified pages in excel at a time. NAVEEN Excel Discussion (Misc queries) 1 February 21st 06 11:07 AM
How can I print an organization chart across 15 pages correctly? SeaFire Excel Discussion (Misc queries) 0 October 19th 05 06:28 AM
print different row titles in one sheet w/ many pages Carman Law Excel Worksheet Functions 2 May 24th 05 12:08 PM


All times are GMT +1. The time now is 01:10 AM.

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"