+ Reply to Thread
Results 1 to 5 of 5

Automatically Hiding rows based on checkboxes

Hybrid View

  1. #1
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Automatically Hiding rows based on checkboxes

    Hi Jake,
    I edited your sheet to have the checkbox hide/unhide the rows. See attachment.

    This what I've done:
    Firstly you have to link the checkbox to a cell (I've choosen the cell rigth above the checkbox just to illustrate, but it can be anay cell on any sheet).
    Secondly you will have to link the checkbox to a macro: move your mouse over the checkbox and right-click. Select Assign macro and in the next window Edit.
    You will see the macro-editor with the simple code which reads the content of the linked cell (B8) and hides the rows if B8 is false, resp. shows the rows when B8 is true. I think you can copy this yourself for any other checkboxes if necessary.
    You can also find the macro when you select Macros in the Extra-menu. Or you can select the Visual Basic Editor and open the Module there.

    By the way, don't mind the (maybe) weird name of the macro. That's because I'm using a Dutch version of Excel.
    Attached Files Attached Files
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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