Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Alternate Worksheet printing

(this is posted from another area - I think it fits best
here - sorry for duplication)

If I were to have all odd pages on worksheet "ODD", and
all even pages on worksheet "EVEN", is there any way to
alternate the printing so they would print in order?

Example
ODD EVEN
1 2
3 4
5 6... want to print 1,2,3,4,5,6...

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Alternate Worksheet printing

I'm not totally sure I follow you but one of the options on File, Page
Setup, Sheet is Page Order. Maybe you want "Over, Then Down".

--
Jim Rech
Excel MVP
"Steve S." wrote in message
...
| (this is posted from another area - I think it fits best
| here - sorry for duplication)
|
| If I were to have all odd pages on worksheet "ODD", and
| all even pages on worksheet "EVEN", is there any way to
| alternate the printing so they would print in order?
|
| Example
| ODD EVEN
| 1 2
| 3 4
| 5 6... want to print 1,2,3,4,5,6...
|


  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Alternate Worksheet printing

Here's the challenge:
Because column widths are universal, I need to set up two
different formatted pages. (There is a tear-off sheet of
information and since it's 2-sided, it has to be on the
right side of the sheet on ODD page numbers and left side
of the sheet on EVEN page numbers)

Because of this, I would need to print in the order as
previously stated so the book would be put back into it's
proper order. Printing one side and running them back
through for the second side will not work as there are
over 300 pages/book and over 1000 books.

-----Original Message-----
I'm not totally sure I follow you but one of the options

on File, Page
Setup, Sheet is Page Order. Maybe you want "Over, Then

Down".

--
Jim Rech
Excel MVP
"Steve S." wrote in

message
...
| (this is posted from another area - I think it fits best
| here - sorry for duplication)
|
| If I were to have all odd pages on worksheet "ODD", and
| all even pages on worksheet "EVEN", is there any way to
| alternate the printing so they would print in order?
|
| Example
| ODD EVEN
| 1 2
| 3 4
| 5 6... want to print 1,2,3,4,5,6...
|


.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Alternate Worksheet printing

Hi
try a macro like the following:

sub print_even_odd()
dim numpages
dim i
numPages = Application.ExecuteExcel4macro("Get.Document(50)")
for i = 1 to numpages
if i mod 2 = 0 'even pages
with activesheet.pagesetup
'set your page options for even pages
end with
else 'odd pages
with activesheet.pagesetup
'set your page options for odd pages
end with
end if
activesheet.printout (from:=i to:=i)
next i
end sub


--
Regards
Frank Kabel
Frankfurt, Germany


wrote:
Here's the challenge:
Because column widths are universal, I need to set up two
different formatted pages. (There is a tear-off sheet of
information and since it's 2-sided, it has to be on the
right side of the sheet on ODD page numbers and left side
of the sheet on EVEN page numbers)

Because of this, I would need to print in the order as
previously stated so the book would be put back into it's
proper order. Printing one side and running them back
through for the second side will not work as there are
over 300 pages/book and over 1000 books.

-----Original Message-----
I'm not totally sure I follow you but one of the options on File,
Page Setup, Sheet is Page Order. Maybe you want "Over, Then Down".

--
Jim Rech
Excel MVP
"Steve S." wrote in message
...
(this is posted from another area - I think it fits best
here - sorry for duplication)

If I were to have all odd pages on worksheet "ODD", and
all even pages on worksheet "EVEN", is there any way to
alternate the printing so they would print in order?

Example
ODD EVEN
1 2
3 4
5 6... want to print 1,2,3,4,5,6...



.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Alternate Worksheet printing

I get it - you have two worksheets and you want to print page 1 from sheet1
then page 1 from sheet2 then page 2 from sheet1 then page 2 from sheet2,
etc.

Maybe something like this. This assumes the same number of pages on each
sheet.

Sub a()
Dim NumPages As Integer
Dim Counter As Integer
NumPages = Application.ExecuteExcel4Macro("Get.Document(50)") 'Thanks
Frank!
For Counter = 1 To NumPages
Worksheets("Sheet1").PrintOut From:=Counter, To:=Counter
Worksheets("Sheet2").PrintOut From:=Counter, To:=Counter
Next
End Sub


--
Jim Rech
Excel MVP
wrote in message
...
| Here's the challenge:
| Because column widths are universal, I need to set up two
| different formatted pages. (There is a tear-off sheet of
| information and since it's 2-sided, it has to be on the
| right side of the sheet on ODD page numbers and left side
| of the sheet on EVEN page numbers)
|
| Because of this, I would need to print in the order as
| previously stated so the book would be put back into it's
| proper order. Printing one side and running them back
| through for the second side will not work as there are
| over 300 pages/book and over 1000 books.
|
| -----Original Message-----
| I'm not totally sure I follow you but one of the options
| on File, Page
| Setup, Sheet is Page Order. Maybe you want "Over, Then
| Down".
|
| --
| Jim Rech
| Excel MVP
| "Steve S." wrote in
| message
| ...
| | (this is posted from another area - I think it fits best
| | here - sorry for duplication)
| |
| | If I were to have all odd pages on worksheet "ODD", and
| | all even pages on worksheet "EVEN", is there any way to
| | alternate the printing so they would print in order?
| |
| | Example
| | ODD EVEN
| | 1 2
| | 3 4
| | 5 6... want to print 1,2,3,4,5,6...
| |
|
|
| .
|




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
Hide Alternate Rows temporarily to Edit worksheet Bridget~ Excel Worksheet Functions 2 April 29th 09 06:50 PM
Printing worksheet Robyn M New Users to Excel 3 December 11th 08 08:37 PM
Select each alternate row in a worksheet Abdul Shakeel Excel Discussion (Misc queries) 1 August 8th 08 11:26 AM
Printing Alternate Rows LPS Excel Discussion (Misc queries) 2 July 17th 06 06:47 PM
Printing worksheet courtesio99[_10_] Excel Programming 14 December 22nd 03 04:27 PM


All times are GMT +1. The time now is 07:51 AM.

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"