+ Reply to Thread
Results 1 to 6 of 6

Hidding/unhidding rows

  1. #1
    Registered User
    Join Date
    05-09-2016
    Location
    UK
    MS-Off Ver
    2010
    Posts
    3

    Hidding/unhidding rows

    Hi guys,

    I wonder if you Excel wizards could help. I have a scenario where I need to hide/unhide rows when the user validates/unvalidates an (checkbox) option.

    For example:

    user ticks a box = a hidden row below appears with an extra checkbox.
    user unticks a box = the extra rows below hide away the extra options.

    Can this be done?

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Hidding/unhidding rows

    Yes - but depends on the type of checkbox. Can be an ActiveX control or a Forms control or even a cell formatted using the Martlett font which has a checkbox character.

    Post a small sample of your workbook with anonymous data (if necessary) and an example of the type of checkboxes you are using.

  3. #3
    Registered User
    Join Date
    05-09-2016
    Location
    UK
    MS-Off Ver
    2010
    Posts
    3

    Re: Hidding/unhidding rows

    Hi Cytop,

    Thanks for getting back so fast. I've attached an example of what I would like to do. The rows I would like to hide/unhide are highlighted.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Hidding/unhidding rows

    Is this a list of 'static' questions or will the number vary?

  5. #5
    Registered User
    Join Date
    05-09-2016
    Location
    UK
    MS-Off Ver
    2010
    Posts
    3

    Re: Hidding/unhidding rows

    Hi cytop,

    The top level questions will be static although there will more of them in the final document.

  6. #6
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Hidding/unhidding rows

    If you can live with an alternative using Double clicks on Col C to select/clear, try the attached.

    Other than that, you will need code to hide/unhide various checkboxes when rows are hidden/displayed and that gets messy.
    Attached Files Attached Files

+ 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. Hidding/Unhidding Worksheets Based on User Selection
    By Basia22 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-09-2014, 01:27 PM
  2. [SOLVED] Hidding rows by using VBA
    By crimzon in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-18-2014, 12:53 AM
  3. Hidding unhidding worksheet
    By kuntino in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-28-2013, 06:56 AM
  4. hidding rows with checkboxes and coping visible rows to another sheet
    By aviflux in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-15-2008, 09:35 AM
  5. Problem Unhidding columns/rows in excel using VBA
    By Dan Hatola in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-01-2006, 01:05 AM
  6. [SOLVED] Very slow unhidding rows Excel 2000 SP3
    By rs in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-19-2006, 12:15 PM
  7. [SOLVED] Very slow unhidding rows Excel 2000 SP3
    By rs in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-19-2006, 10:40 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