Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jastmaine
 
Posts: n/a
Default How can I print a specified page from several worksheets in Exce.

I want to print a page from several worksheets (for example page 4 from 100
worksheets). Any suggestions? Excel 2000 doesn't have the collection option
and I can't seem to figure out how to get "repeat" in a macro (so it would
select the next sheet and print).
  #2   Report Post  
Gary Brown
 
Posts: n/a
Default

'/=================================================/
Sub TestPage4Print()
Dim wksht As Worksheet

On Error Resume Next

'print page 4 of all worksheets in the workbook
For Each wksht In Worksheets
wksht.PrintOut _
From:=4, To:=4, Copies:=1, Collate:=True
Next wksht

' OR

'print page 4 of various worksheets in the workbook
Worksheets("Sheet1").PrintOut _
From:=4, To:=4, Copies:=1, Collate:=True
Worksheets("Sheet3").PrintOut _
From:=4, To:=4, Copies:=1, Collate:=True
Worksheets("Sheet7").PrintOut _
From:=4, To:=4, Copies:=1, Collate:=True

End Sub
'/=================================================/

HTH,
Gary Brown

"jastmaine" wrote:

I want to print a page from several worksheets (for example page 4 from 100
worksheets). Any suggestions? Excel 2000 doesn't have the collection option
and I can't seem to figure out how to get "repeat" in a macro (so it would
select the next sheet and print).

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
My scaling is set to print 1x1 pages. But it prints 1000's of page Graeme Excel Worksheet Functions 0 March 23rd 05 01:15 AM
print selected sections on the same page ripley Excel Discussion (Misc queries) 1 February 22nd 05 04:04 PM
Getting rid of 2nd Page on Print. Shadyhosta New Users to Excel 3 December 30th 04 12:36 PM
Page breaks don't show on screen and don't print separately. It i. Peter Excel Discussion (Misc queries) 1 November 29th 04 04:33 PM
how to print a row on the bottom of every page Punx Excel Discussion (Misc queries) 1 November 29th 04 04:20 PM


All times are GMT +1. The time now is 11:59 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"