+ Reply to Thread
Results 1 to 5 of 5

hide and unhide rows in different worksheet using a checkbox

  1. #1
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Perth
    MS-Off Ver
    Excel 2010
    Posts
    208

    hide and unhide rows in different worksheet using a checkbox

    Hi there,

    I am trying to use a check box in sheet1 to hide and unhide the rows (3:7) in sheet2

    So if the check box in 'sheet1' is true (ticked), then the rows in sheet2 to bbe hidden automatically and vice versa.

    I have attached the sample excel file below.

    Any help will be highly appreciated.

    Cheers,
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: hide and unhide rows in different worksheet using a checkbox

    Put a macro like this:
    Please Login or Register  to view this content.
    in a module and assign it to the check box (right click on check box and choose "assign macro")

  3. #3
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: hide and unhide rows in different worksheet using a checkbox

    or
    Please Login or Register  to view this content.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: hide and unhide rows in different worksheet using a checkbox

    Hi,

    Consider using the Activex Controls rather than Forms Controls. Perhaps a personal thing but they are certainly more flexible.

    So assuming you do then in the click event of the checkbox

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Perth
    MS-Off Ver
    Excel 2010
    Posts
    208

    Re: hide and unhide rows in different worksheet using a checkbox

    Thank you All!!! It works perfectly.

+ 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] Macro to hide/unhide rows using more than one checkbox
    By tsou in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-29-2013, 08:37 AM
  2. hide/unhide rows using checkbox
    By elfirahayu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2010, 03:31 PM
  3. Worksheet CheckBox (Hide unhide)
    By Rick_Stanich in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-22-2009, 11:43 AM
  4. 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
  5. Checkbox to hide & unhide worksheet
    By grantj in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-18-2008, 01:13 PM

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