+ Reply to Thread
Results 1 to 3 of 3

Toggle Button to Hide Rows

  1. #1
    Forum Contributor
    Join Date
    06-04-2015
    Location
    Bangkok, Thailand
    MS-Off Ver
    2013
    Posts
    175

    Toggle Button to Hide Rows

    Hi All,

    I'm using the following code for toggle buttons to hide rows. The first button seems to work fine I can hide and unhide easily. But when I try to add another button it won't let me hide or unhide unless I use the ToggleButton1 first.

    The second button seems to be dependent on the first. Is there anyway to make these buttons independent because I will need up to 6 buttons.

    5 of them will be for specific parts of the worksheet to hide/unhide and the last one will be to unhide all.

    Thank you very much in advance.



    Please Login or Register  to view this content.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Toggle Button to Hide Rows

    Should the line highlighted in red say ToggleButton2?
    Please Login or Register  to view this content.
    BSB

  3. #3
    Forum Contributor
    Join Date
    06-04-2015
    Location
    Bangkok, Thailand
    MS-Off Ver
    2013
    Posts
    175

    Re: Toggle Button to Hide Rows

    Ah.. thank you very much. Very careless of me.

+ 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] Hide Rows that are below a button (and be able to toggle)
    By Kistler2 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-06-2016, 10:24 AM
  2. [SOLVED] New Question to Hide Rows with Toggle button and auto adjust for additional rows
    By The Phoenix in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-14-2015, 01:55 PM
  3. 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
  4. Show/Hide Rows & Columns Toggle Button
    By axegrynder in forum Excel General
    Replies: 2
    Last Post: 06-29-2015, 06:38 PM
  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. [SOLVED] Toggle button to hide rows if empty and has no color
    By hi2chris in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-10-2012, 08:56 PM
  7. 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

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