+ Reply to Thread
Results 1 to 4 of 4

Toggle Button to hide/unhide rows with specific value

  1. #1
    Registered User
    Join Date
    11-26-2019
    Location
    Florida
    MS-Off Ver
    Professional Plus 2016
    Posts
    54

    Toggle Button to hide/unhide rows with specific value

    I have the following Command Buttons. One to hide & the other to unhide. I would like to combined both two just one Toggle Button. So when I click the toggle button to hide and when I click again to unhide. Fairly new to VBA. Is this possible?
    The hide command button hides rows that have a Y in column E. The unhide command button unhides the rows from the previous command button.
    Thank you so much!

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    06-02-2012
    Location
    London, England
    MS-Off Ver
    365
    Posts
    397

    Re: Toggle Button to hide/unhide rows with specific value

    It would be easier to help with an example workbook, but perhaps give this a try....
    Please Login or Register  to view this content.
    Beth.

  3. #3
    Registered User
    Join Date
    11-26-2019
    Location
    Florida
    MS-Off Ver
    Professional Plus 2016
    Posts
    54

    Re: Toggle Button to hide/unhide rows with specific value

    Thank you. That worked perfectly. By any chance can we change the caption too. When clicked "hide received" and when clicked again "unhide received". I have attached an excel.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    06-02-2012
    Location
    London, England
    MS-Off Ver
    365
    Posts
    397

    Re: Toggle Button to hide/unhide rows with specific value

    Maybe this?

    Please Login or Register  to view this content.
    Beth.

+ 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] Toggle Button to hide/unhide blank rows
    By therealaccountant in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-05-2019, 07:56 PM
  2. [SOLVED] Toggle Button to hide/unhide rows based on value
    By therealaccountant in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-26-2019, 12:40 PM
  3. Toggle Button to hide unhide sheets
    By 95marine in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-14-2017, 04:46 PM
  4. Need Toggle Button to hide/unhide rows based on cell value in non concurrent rows
    By The Phoenix in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-13-2015, 10:49 AM
  5. [SOLVED] Toggle Button to hide/unhide rows based on value
    By goomblar in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-03-2014, 07:35 AM
  6. Using Toggle Button to hide/unhide rows that may change
    By jmpatrick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2011, 09:48 AM
  7. How to HIDE/UNHIDE Specific Sheets Using a TOGGLE Button?
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-16-2011, 02:58 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