Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
NAVEEN
 
Posts: n/a
Default Printing Odd or Even Pages

Hi,

Can any body tell me
1. How to print all/ some Odd pages or Even pages in Excel.
2. How to print some specified pages only (ex: 1,5, 8 to 10).

Advance thanks.

Bye.

NAVEEN


  #2   Report Post  
Posted to microsoft.public.excel.misc
Norman Jones
 
Posts: n/a
Default Printing Odd or Even Pages

Hi Naveen,

1. How to print all/ some Odd pages or Even pages in Excel.


Gord Dibben (http://tinyurl.com/mszhb) posted the following macro:

Sub PrintDoubleSided()
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

If you are not familiar with macros, you may wish to visit David McRitchie's
'Getting Started With Macros And User Defined Functions' at:

http://www.mvps.org/dmcritchie/excel/getstarted.htm


2. How to print some specified pages only (ex: 1,5, 8 to 10).


Select the required sheets, by control-clicking them, and check the 'Active
sheets' option in the print dialog. Remember to remove the multi-sheet
selection - click an unselected sheet.


---
Regards,
Norman


"NAVEEN" wrote in message
...
Hi,

Can any body tell me
1. How to print all/ some Odd pages or Even pages in Excel.
2. How to print some specified pages only (ex: 1,5, 8 to 10).

Advance thanks.

Bye.

NAVEEN




  #3   Report Post  
Posted to microsoft.public.excel.misc
NAVEEN
 
Posts: n/a
Default Printing Odd or Even Pages

Thank you very much. It is very useful for me.

and you have not answered my second question

"How can I print page 1, 2, 5, and 8 to 10 in Sheet1 at a time."

And also kindly tell me, is there any other way with I can do the above two
things i.e., without using macros.

Thanks once again.

Bye.

NAVEEN

"Norman Jones" wrote:

Hi Naveen,

1. How to print all/ some Odd pages or Even pages in Excel.


Gord Dibben (http://tinyurl.com/mszhb) posted the following macro:

Sub PrintDoubleSided()
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

If you are not familiar with macros, you may wish to visit David McRitchie's
'Getting Started With Macros And User Defined Functions' at:

http://www.mvps.org/dmcritchie/excel/getstarted.htm


2. How to print some specified pages only (ex: 1,5, 8 to 10).


Select the required sheets, by control-clicking them, and check the 'Active
sheets' option in the print dialog. Remember to remove the multi-sheet
selection - click an unselected sheet.


---
Regards,
Norman


"NAVEEN" wrote in message
...
Hi,

Can any body tell me
1. How to print all/ some Odd pages or Even pages in Excel.
2. How to print some specified pages only (ex: 1,5, 8 to 10).

Advance thanks.

Bye.

NAVEEN





  #4   Report Post  
Posted to microsoft.public.excel.misc
Norman Jones
 
Posts: n/a
Default Printing Odd or Even Pages

Hi Naveen,

and you have not answered my second question


2. How to print some specified pages only (ex: 1,5, 8 to 10).


Select the required sheets, by control-clicking them, and check the
'Active
sheets' option in the print dialog. Remember to remove the multi-sheet
selection - click an unselected sheet.



---
Regards,
Norman



"NAVEEN" wrote in message
...
Thank you very much. It is very useful for me.

and you have not answered my second question

"How can I print page 1, 2, 5, and 8 to 10 in Sheet1 at a time."

And also kindly tell me, is there any other way with I can do the above
two
things i.e., without using macros.

Thanks once again.

Bye.

NAVEEN

"Norman Jones" wrote:

Hi Naveen,

1. How to print all/ some Odd pages or Even pages in Excel.


Gord Dibben (http://tinyurl.com/mszhb) posted the following macro:

Sub PrintDoubleSided()
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

If you are not familiar with macros, you may wish to visit David
McRitchie's
'Getting Started With Macros And User Defined Functions' at:

http://www.mvps.org/dmcritchie/excel/getstarted.htm


2. How to print some specified pages only (ex: 1,5, 8 to 10).


Select the required sheets, by control-clicking them, and check the
'Active
sheets' option in the print dialog. Remember to remove the multi-sheet
selection - click an unselected sheet.


---
Regards,
Norman



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
Printing Odd or Even Pages NAVEEN Excel Discussion (Misc queries) 0 February 21st 06 09:43 AM
Printing same table on reverse side of all pages. dziw Excel Discussion (Misc queries) 1 July 6th 05 06:26 PM
how do I print a range without printing the blank pages? Chris VP Excel Discussion (Misc queries) 2 May 2nd 05 07:08 PM
PRINTING PAGES Meg Setting up and Configuration of Excel 0 January 13th 05 07:31 PM
Excel program not printing all pages... farmradiogirl New Users to Excel 1 January 3rd 05 09:05 AM


All times are GMT +1. The time now is 04:56 PM.

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

About Us

"It's about Microsoft Excel"