+ Reply to Thread
Results 1 to 4 of 4

Macro to toggle between hide/unhide rows

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    Woodbury,CT
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2301 Build 16.0.16026.20002) 64-bit
    Posts
    67

    Macro to toggle between hide/unhide rows

    I have a worksheet in which I have two macros one of which hides rows 11,12,18,19 and the second macro unhides them.

    I would like to combine these into one macro which when run will unhide the rows if they are hidden and hide them if they are not.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Macro to toggle between hide/unhide rows

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-13-2012
    Location
    Woodbury,CT
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2301 Build 16.0.16026.20002) 64-bit
    Posts
    67

    Re: Macro to toggle between hide/unhide rows

    That did it.

    I appreciate your help.

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Macro to toggle between hide/unhide rows

    You're welcome. Glad to help out and thanks for the feedback. Please comply with Forum Rule No. 9.

    9. Acknowledge the responses you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved". Or click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Dropdown option or Edit button will not appear -- ask a moderator to mark it.

+ 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. Macro to toggle between Hide and Unhide rows
    By fpt264 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-14-2013, 01:47 PM
  2. toggle with macro to hide/unhide entire row with cell that contains specific text
    By duvius in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2013, 03:04 PM
  3. macro - toggle hide/unhide row
    By taken in forum Excel Programming / VBA / Macros
    Replies: 72
    Last Post: 04-13-2013, 10:04 AM
  4. button to toggle hide/unhide columns
    By dbuff in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-03-2013, 07:56 PM
  5. 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