Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default suppress printing on certain rows

How do I suppress the printing of certain rows in a spreadsheet? If there is
not a value in a particular cell in the row I do not want the row to print.
--
Valerie
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default suppress printing on certain rows

You can hide the rows without values and then print
--
Kevin Backmann


"Valerie" wrote:

How do I suppress the printing of certain rows in a spreadsheet? If there is
not a value in a particular cell in the row I do not want the row to print.
--
Valerie

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default suppress printing on certain rows

Someone other than myself will be working in the spreadsheet. They have
limited ability and will basically be performing data entry and printing
only. There are about 500 rows in the spreadsheet. At any point in time
there may only be 25 rows with values scattered throughout the spreadsheet
that she would want to print.

I want her to be able to see all of the rows, yet only print those with
values. I don't want her to have to hunt & peck for the rows with values.
What would the easiest solution be?
--
Valerie


"Kevin B" wrote:

You can hide the rows without values and then print
--
Kevin Backmann


"Valerie" wrote:

How do I suppress the printing of certain rows in a spreadsheet? If there is
not a value in a particular cell in the row I do not want the row to print.
--
Valerie

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default suppress printing on certain rows

I have a few code examples here
http://www.rondebruin.nl/print.htm

See the macro "Sub Hide_Print_Unhide()"


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Valerie" wrote in message ...
Someone other than myself will be working in the spreadsheet. They have
limited ability and will basically be performing data entry and printing
only. There are about 500 rows in the spreadsheet. At any point in time
there may only be 25 rows with values scattered throughout the spreadsheet
that she would want to print.

I want her to be able to see all of the rows, yet only print those with
values. I don't want her to have to hunt & peck for the rows with values.
What would the easiest solution be?
--
Valerie


"Kevin B" wrote:

You can hide the rows without values and then print
--
Kevin Backmann


"Valerie" wrote:

How do I suppress the printing of certain rows in a spreadsheet? If there is
not a value in a particular cell in the row I do not want the row to print.
--
Valerie

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default suppress printing on certain rows

Hi Ron De Bruin,

I have used your Macros in Excel 2007 to supress printing of certain Rows

Private Sub Workbook_BeforePrint(Cancel As Boolean)

' Hide Row 1 to Row 5 when printing

If ActiveSheet.Name = "Adjustment" Then
Cancel = True
Application.EnableEvents = False
Application.ScreenUpdating = False
With ActiveSheet
.Rows("1:5").EntireRow.Hidden = True
.PrintOut
.Rows("1:5").EntireRow.Hidden = False
End With
Application.EnableEvents = True
Application.ScreenUpdating = True
End If
End Sub

However, after I clicked "Print Preview", all toolbar icons are disable for
selection.

When I take out the above Macro, selection becomes available.

Could you show me how to fix it.

Thanks.

Igbert Au-Yeung

"Ron de Bruin" wrote:

I have a few code examples here
http://www.rondebruin.nl/print.htm

See the macro "Sub Hide_Print_Unhide()"


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Valerie" wrote in message ...
Someone other than myself will be working in the spreadsheet. They have
limited ability and will basically be performing data entry and printing
only. There are about 500 rows in the spreadsheet. At any point in time
there may only be 25 rows with values scattered throughout the spreadsheet
that she would want to print.

I want her to be able to see all of the rows, yet only print those with
values. I don't want her to have to hunt & peck for the rows with values.
What would the easiest solution be?
--
Valerie


"Kevin B" wrote:

You can hide the rows without values and then print
--
Kevin Backmann


"Valerie" wrote:

How do I suppress the printing of certain rows in a spreadsheet? If there is
not a value in a particular cell in the row I do not want the row to print.
--
Valerie




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 112
Default suppress printing on certain rows

Hello Valerie
Why not hide the relevant rows?
You could also envisage a programming solution.

HTH
Cordially
Pascal

"Valerie" a écrit dans le message de
news: ...
How do I suppress the printing of certain rows in a spreadsheet? If there
is
not a value in a particular cell in the row I do not want the row to
print.
--
Valerie



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default suppress printing on certain rows

Wouldn't each row have to be selected to hide? I need something that would
be automatic.
--
Valerie


"papou" wrote:

Hello Valerie
Why not hide the relevant rows?
You could also envisage a programming solution.

HTH
Cordially
Pascal

"Valerie" a écrit dans le message de
news: ...
How do I suppress the printing of certain rows in a spreadsheet? If there
is
not a value in a particular cell in the row I do not want the row to
print.
--
Valerie




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default suppress printing on certain rows

Autofilter for non-blanks then print.

Record a macro while doing this.


Gord Dibben MS Excel MVP

On Thu, 13 Sep 2007 07:54:01 -0700, Valerie
wrote:

Wouldn't each row have to be selected to hide? I need something that would
be automatic.


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 do you suppress zero lines when printing reports riverman Excel Discussion (Misc queries) 0 May 10th 07 01:37 PM
how do I suppress printing blank lines in a worksheet? Rob M'Crystal Excel Discussion (Misc queries) 1 October 12th 06 03:14 PM
how do I automatically hide or suppress zero balance rows zhehol Excel Worksheet Functions 1 June 14th 06 03:43 AM
Suppress printing workbook zenahs Excel Discussion (Misc queries) 2 February 6th 06 08:49 PM
suppress printing a repeating value in a column Suppress printing repeating values Excel Discussion (Misc queries) 1 September 26th 05 02:41 AM


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