Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
bob bob is offline
external usenet poster
 
Posts: 12
Default Print Preview all pages at once

What code is necessary so that all sheets are checked before the print preview? Now each sheet is checked and printed one by one. I would like all sheets to be checked so the page numbering shows Page 1 of ? and so on.I want to be able to print one or all @ one time

Private Sub CommandButton4_Click(
Dim iRow As Lon
Dim HowMany As Lon

HowMany = 2

With ActiveShee

For iRow = 52 To (32 * HowMany - 1) + 52 Step 3
If IsNumeric(.Cells(iRow + 3, "I").Value) The
If .Cells(iRow + 3, "I").Value 0 The
.Cells(iRow, "A").Resize(16, 9).PrintPrevie
'.printout when you're done checkin
End I
End I
Next iRo

End Wit

Range("J1").Selec
End Su

Thank you very much for your help.
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 excel spreadsheet won't print or print preview all the pages? whirlybird Excel Worksheet Functions 2 April 4th 23 10:50 AM
Number of pages in worksheet doesn't match Print Preview pages delru Excel Discussion (Misc queries) 2 May 10th 10 10:08 PM
Print preview/page set-up is printing 100's of blank pages edwin Excel Discussion (Misc queries) 2 March 6th 10 12:46 PM
scrolling pages in print preview rfrench Excel Discussion (Misc queries) 1 August 28th 09 10:22 PM
My print preview in Excel does not show number of pages anymore. H Kawartha Tom Excel Discussion (Misc queries) 0 August 30th 06 09:17 PM


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