+ Reply to Thread
Results 1 to 4 of 4

Hide/ Unhide Rows based on Text Value - Checkbox

  1. #1
    Registered User
    Join Date
    02-25-2021
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    4

    Post Hide/ Unhide Rows based on Text Value - Checkbox

    Hi All,

    Can someone please help me to hide/ unhide rows on another sheet based on Text Value?

    For example, if 'Purchase Order' is enabled using a checkbox or a button, then rows containing 'Purchase Order' in a specific column, in this case Column D, will be shown.

    Note: I am trying to make a dashboard (sheet 1) in which specific documents can be toggled to show rows in sheet 2.

    Please see attached images as reference.

    Thanks!

    sheet 1.jpg
    Sheet 2.jpg

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Hide/ Unhide Rows based on Text Value - Checkbox

    Welcome to the forum.

    At first glance I wonder why you aren't using a structured table and a slicer for this.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-25-2021
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    4

    Re: Hide/ Unhide Rows based on Text Value - Checkbox

    Hi Ali,

    Thank You, that would be very helpful, my apologies.

    I have read up on structured tables and slicers, but I am not sure how that will help in this case. Please can you elaborate?

    My objective to be able to click on a checkbox, for example specifying 'Purchase Orders' and then in the other sheet, all Rows with the value in Column D will be shown. This is to bring up information regarding 'Purchase Orders'.

    I have been trying to macro the checkboxes, but have been struggling. It would be very helpful if you can give me a sense of direction.

    Thanks!
    Joseph
    Attached Files Attached Files

  4. #4
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Hide/ Unhide Rows based on Text Value - Checkbox

    This is a 'quick and dirty' way to achieve what I think you want.
    In your Sheet2 (scripts);
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Croweater; 04-17-2021 at 11:21 PM.

+ 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. Hide/Unhide Rows based on column data using checkbox
    By ricklberry in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2015, 11:39 AM
  2. Userform/checkbox hide/unhide rows based on cell value
    By MOHAMMESALMAN in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-03-2015, 03:17 AM
  3. [SOLVED] User form/checkbox hide/unhide rows based on cell value
    By ldonis in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-12-2014, 11:35 AM
  4. [SOLVED] Macro to Automatically Hide/Unhide Rows Based on Checkbox
    By bga10s in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-27-2014, 07:32 PM
  5. Checkbox to hide and unhide rows
    By xjenniex in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-08-2014, 04:42 PM
  6. [SOLVED] Checkbox VBA - Hide/Unhide Rows and/or Columns based on cell values
    By gravy258 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-21-2013, 05:39 PM
  7. Hide / unhide rows with help of a checkbox
    By Hansa in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-03-2009, 12:56 PM

Tags for this Thread

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