Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
PaulM
 
Posts: n/a
Default Printing in Excel2000?

Is it possible to suppress printing of hidden pages (rows) in Excel2000?
  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default Printing in Excel2000?

You added a bunch of manual page breaks. Then you hid lots of rows, but the
page breaks still cause blank sheets of paper to come out of the printer?
(Discounting headers/footers.)

If that's what you mean, then how about just copying the visible rows to a new
worksheet and print from there.

Select your range
edit|goto|special|visible cells only
edit|copy
edit|paste in that new worksheet.

You'll have to reapply the pagebreaks you want.

....
Or you could copy the worksheet
edit|move or copy sheet
then remove all the hidden rows on that sheet.
then print
and delete that helper sheet.

You could even use a macro:

Option Explicit
Sub testme()
Dim curWks As Worksheet
Dim tempWks As Worksheet
Dim iRow As Long
Dim LastRow As Long

Set curWks = Worksheets("sheet1")
curWks.Copy 'to a new workbook
Set tempWks = ActiveSheet

With tempWks
LastRow = .Cells.SpecialCells(xlCellTypeLastCell).Row
For iRow = LastRow To 1 Step -1
If .Rows(iRow).Hidden = True Then
.Rows(iRow).Delete
End If
Next iRow

.PrintOut preview:=True

.Parent.Close savechanges:=False
End With

End Sub

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

PaulM wrote:

Is it possible to suppress printing of hidden pages (rows) in Excel2000?


--

Dave Peterson
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
How to change default printing parameters on Excel & ...... Amjad Excel Discussion (Misc queries) 9 September 7th 05 03:22 PM
Printing is slow: Any suggestions Bob Excel Discussion (Misc queries) 3 July 22nd 05 02:14 PM
Printing Recto/Verso Sam Vanderstraeten Excel Discussion (Misc queries) 2 July 7th 05 12:44 PM
problem printing to PDF mark kubicki Excel Discussion (Misc queries) 1 January 21st 05 06:19 PM
Enable Double sided printing contiuously when printing multiple s. Lee Excel Discussion (Misc queries) 1 November 27th 04 01:58 AM


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