+ Reply to Thread
Results 1 to 2 of 2

Macro - Hide/Unhide Rows based on conditional criteria

  1. #1
    Registered User
    Join Date
    06-25-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    14

    Macro - Hide/Unhide Rows based on conditional criteria

    I'm looking for a way to have a macro trigger certain rows to hide/unhide when it is selected. The rows aren't always in the same place, depending on the data, but they do have the same values in the column I would be checking to hide/unhide. If the column was "A", and the values I was using to trigger the hide/unhide were 1,2,3 in descending order, how would I write the macro to hide/unhide those rows?

    Thank you!

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Macro - Hide/Unhide Rows based on conditional criteria

    Do you have a sample file that you can upload?

    Its better not to give a generic example, as you may have trouble replicating the same in your main file. Why not cite an example reflecting your data? Just ensure you remove all sensitive data.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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