+ Reply to Thread
Results 1 to 5 of 5

Macro for hiding rows not working

  1. #1
    Registered User
    Join Date
    03-28-2010
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    38

    Macro for hiding rows not working

    Hi,

    I’ve a macro to hide certain rows if I select a value on cell J6 from a dropdown data validation list. Everything works perfect until I select the option “ALL” from the list. Once I select “ALL” on J6 the workbook stops responding and then I have to use task manager to end the process.

    Can someone please help me fix this issue with the vba code. Have attached a sample workbook along with the vba code.

    Regards,
    SWSample Data.xls

  2. #2
    Valued Forum Contributor
    Join Date
    03-23-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1,093

    Re: Macro for hiding rows not working

    Hey there,
    Try updating you entire coding behind the Sector Dashboard to just look like this. I believe the rest might be unneccessary.


    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-27-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007/2010
    Posts
    86

    Re: Macro for hiding rows not working

    I added Application.EnableEvents to your clear_filters code
    Please Login or Register  to view this content.
    Boon

  4. #4
    Registered User
    Join Date
    03-28-2010
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    38

    Re: Macro for hiding rows not working

    That was quick. Thanks so much for all your help!!!!

  5. #5
    Valued Forum Contributor
    Join Date
    03-23-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1,093

    Re: Macro for hiding rows not working

    Thanks for the star tap!

+ 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