+ Reply to Thread
Results 1 to 6 of 6

Hide/Unhide rows using a macro

  1. #1
    Registered User
    Join Date
    09-08-2009
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    74

    Question Hide/Unhide rows using a macro

    Hi All,

    I am trying to hide and unhide certain rows using a macro...which I have already recorded.

    As shown in the attached spreadsheet.

    I just need the linking statement that will enable the blue button in A1. At the moment, clicking the blue button "Brand" will hide the three rows below it...I want it to do both hide and unhide.

    Thank you for your assistance.

    P.S - I have searched the forums and tried a few link statements but was unsuccessful in attaining my desired result.
    Attached Files Attached Files
    Last edited by Jazzy Max; 08-27-2010 at 01:01 PM.

  2. #2
    Forum Contributor
    Join Date
    08-19-2010
    Location
    UK.
    MS-Off Ver
    Excel 2007
    Posts
    142

    Wink Re: Hide/Unhide rows using a macro

    Try this, (attached) I'm sure anyone here will give you a better way of doing this; I'm still learning!

    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-08-2009
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: Hide/Unhide rows using a macro

    Cool, thank you for that...Im sure there is a simpler way to this one...but in the meantime I will use this as.

    But if there is another way of doing this please let me know.

    Thank You

  4. #4
    Forum Contributor
    Join Date
    08-19-2010
    Location
    UK.
    MS-Off Ver
    Excel 2007
    Posts
    142

    Re: Hide/Unhide rows using a macro

    Ok. I've tried to come up with a simpler solution (attached).
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-08-2009
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: Hide/Unhide rows using a macro

    Quote Originally Posted by Mayweed View Post
    Ok. I've tried to come up with a simpler solution (attached).
    Absolutely perfect!! Thank You very very much.

  6. #6
    Registered User
    Join Date
    09-10-2012
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Hide/Unhide rows using a macro

    neat piece of code .... made my life real easy..

+ 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