+ Reply to Thread
Results 1 to 7 of 7

Print Only Non-blank or Nonzero Rows

  1. #1
    Forum Contributor
    Join Date
    10-05-2021
    Location
    Bronx, NY USA
    MS-Off Ver
    2021/365
    Posts
    174

    Print Only Non-blank or Nonzero Rows

    Without programming or VBA routines, is there the ability to print lines with entries on them?

    The attached spreadsheet, I'd like not to print the rows that do not have any entries in the debit/credit columns.
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,001

    Re: Print Only Non-blank or Nonzero Rows

    There is no way to do this in the print setup or the print operation. You will have to filter out the rows you don't want to print.

    Set print area to columns A:G
    In column H add a header in H5 that says PRINT
    Fill column H with this formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Select the table and click Data > Filter
    Click the dropdown in H5 and uncheck False
    Print the sheet
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    10-05-2021
    Location
    Bronx, NY USA
    MS-Off Ver
    2021/365
    Posts
    174

    Re: Print Only Non-blank or Nonzero Rows

    Thx, it seems to work; fine tuning it now.

  4. #4
    Forum Contributor
    Join Date
    10-05-2021
    Location
    Bronx, NY USA
    MS-Off Ver
    2021/365
    Posts
    174

    Re: Print Only Non-blank or Nonzero Rows

    Thanks, adding that header filter column does seem to select only those rows with entries on them, but, I'm noticing it's messing up my alternate row shading format, but we can live that.

  5. #5
    Forum Contributor
    Join Date
    10-05-2021
    Location
    Bronx, NY USA
    MS-Off Ver
    2021/365
    Posts
    174

    Re: Print Only Non-blank or Nonzero Rows

    And, forgive me for saying this, for I mean it to be a compliment.

    That is very good "out-of-the-box" thinking to come up with that formula to use in a filter for printing.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,001

    Re: Print Only Non-blank or Nonzero Rows

    Change your conditional formatting rule to the following to alternate colors only on the visible rows.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    10-05-2021
    Location
    Bronx, NY USA
    MS-Off Ver
    2021/365
    Posts
    174

    Re: Print Only Non-blank or Nonzero Rows

    Thank you again!!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] peview and print dynamic ranges without blank rows
    By ABDELFATTA in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-07-2020, 11:30 PM
  2. Remove blank rows and print only selected worksheets
    By MARD99 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 07-29-2017, 01:52 AM
  3. Print selected sheets and not print blank rows
    By MARD99 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-26-2017, 04:39 PM
  4. Print is printing out blank sheets for hidden rows
    By rousseauassociates in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-08-2016, 08:45 AM
  5. Select NonZero rows
    By NTB in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2010, 10:34 AM
  6. How can I print a worksheet excluding blank rows?
    By lohme in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-22-2006, 08:00 PM
  7. [SOLVED] how do I print grid lines for blank rows
    By gailrolfe in forum Excel General
    Replies: 3
    Last Post: 02-25-2005, 02:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1