+ Reply to Thread
Results 1 to 4 of 4

Macro Coding to show on Rows with blanks in certain Cell

  1. #1
    Registered User
    Join Date
    12-02-2013
    Location
    Leicester
    MS-Off Ver
    Excel 2010
    Posts
    83

    Macro Coding to show on Rows with blanks in certain Cell

    Hi

    i am trying to write a macro that will only show Rows that have no text in a certain Cell In this case its F2 ...... Onwards to the bottom of list which varies day to day

    Also

    another Macro doing to same however only show rows with a Yes in F2 .... and blank in K2..... Onwards

    I dont want to other rows deleting but need them to reappear after i have done what i need with the above data

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Macro Coding to show on Rows with blanks in certain Cell

    Maybe:

    No text in F

    Please Login or Register  to view this content.
    Reset

    Please Login or Register  to view this content.
    Yes F2 K blank

    Please Login or Register  to view this content.

  3. #3
    Administrator JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro Coding to show on Rows with blanks in certain Cell

    Assuming the Autofilter works for your data set, you should only need to send the filter instruction to the title row. It will apply to the entire table, no need to determine the number of rows, the table of data needs to be contiguous and it should work.

    Please Login or Register  to view this content.


    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Macro Coding to show on Rows with blanks in certain Cell

    Here is my go at it:

    Please Login or Register  to view this content.

+ 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] Removing blanks where blanks show blank but are code to show blank.
    By markDuffy in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-08-2013, 05:34 AM
  2. [SOLVED] Insert and Delete blanks rows so that there are 2 blanks rows between text rows
    By erniedawg in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-29-2013, 02:27 AM
  3. Macro to Copy Paste Rows Depending on a Cell Value and show values against each row
    By prkhan56 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-29-2013, 11:41 AM
  4. Do not show all blanks rows after a filtering
    By larics in forum Excel General
    Replies: 1
    Last Post: 12-16-2011, 06:43 AM
  5. macro coding to show item from specified cell.
    By Saky in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-29-2011, 03:05 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