+ Reply to Thread
Results 1 to 4 of 4

Avoid to print cells containing ""

  1. #1
    Registered User
    Join Date
    12-21-2018
    Location
    On a couch from Ikea
    MS-Off Ver
    2013
    Posts
    2

    Avoid to print cells containing ""

    Hello.
    I have a worksheet containing of 20000 rows collecting info from other worksheets, mainly by codes like =IF($Sheet1.A1>"";$Sheet1.A1;"").
    The result is dynamic; sometimes are all the 20000 rows populated, other times nearly 10000.
    My problem is when I want to print this worksheet; my Excel wants to print all 20000 cells regardless of there is some values in the rows or the cells in the row is "". Is there any way that I can prevent the "empty" rows containing only "" of being printed?
    Last edited by born_wild; 12-21-2018 at 07:38 PM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Avoid to print cells containing ""

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    12-21-2018
    Location
    On a couch from Ikea
    MS-Off Ver
    2013
    Posts
    2

    Re: Avoid to print cells containing ""

    I've uploaded a demo now.
    In my main-file there's several Source Sheets, but in the demo only one.
    If I, in my demo, try to print the Source Sheet it says that it is 3 pages, but if I want to print the To_Print Sheet it's 6 pages due to the fact that som cells at the bottom returns "", and Excel obvious thinks that it is a printable value
    The cells at the bottom that returns "" is to show that there may be more cells containing info than what I've added.
    Attached Files Attached Files

  4. #4
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Avoid to print cells containing ""

    Select filter non blank & select actual data.
    >Go to file > print > select "Selection" > ok


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

+ 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. Find a word "screenshot" and print value "yes" in adjacent Column
    By prat123 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-21-2015, 03:04 PM
  2. Replies: 2
    Last Post: 01-15-2015, 04:45 PM
  3. Replies: 2
    Last Post: 07-29-2014, 12:31 PM
  4. Replies: 5
    Last Post: 01-23-2014, 11:02 AM
  5. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  6. Debug.Print "Test " vbCodeLineNumber & ": " & varName
    By TommySzalapski in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-02-2005, 01:05 PM
  7. [SOLVED] ? doing IF(N8="pilot",(AB8+.05) but how do I avoid the "false" value for nonmatching???
    By _Bigred in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-09-2005, 01:06 PM

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