+ Reply to Thread
Results 1 to 2 of 2

Hiding rows in table based on cell value

  1. #1
    Registered User
    Join Date
    10-01-2015
    Location
    Canada
    MS-Off Ver
    Professional Plus 2013
    Posts
    7

    Hiding rows in table based on cell value

    I have a worksheet with all of our daily orders in Table2 (currently B5 to Z959). I want a command button that will hide all rows in Table2 that contain a date in column X (which is the order completed date) but not the rows where column X is empty. Then I want to switch the Command Button's caption to "Show All Rows" and unhide all rows next time it's clicked. Nothing I've tried has worked. My knowledge of VBA is too sporadic and I would appreciate any ideas. This is the first time I've posted anything anywhere so I hope I've given enough information.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,997

    Re: Hiding rows in table based on cell value

    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.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. Hiding Rows Based on a Cell Value
    By smartcard in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-16-2015, 07:13 AM
  2. Hiding rows based on content of a cell
    By Commissar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-21-2013, 01:05 AM
  3. [SOLVED] Hiding rows based on cell value.
    By Metalgijs in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-12-2013, 03:08 AM
  4. Hiding rows in one tab based on cell value in another
    By hoffmt28 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2013, 09:27 AM
  5. Hiding rows based on value in another cell
    By sahar in forum Excel General
    Replies: 0
    Last Post: 10-12-2011, 10:27 AM
  6. Hiding Rows Based based upon cell value being blank
    By leelee23 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-11-2007, 04:48 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