+ Reply to Thread
Results 1 to 10 of 10

Hide rows based on cell content

Hybrid View

  1. #1
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,370

    Re: Hide rows based on cell content

    Ok Gary
    I'm closer to understanding "pop up" vs "Drop Down" and you are using a validation cell.

    The answer is that you need someting to trigger your code. I'm assuming the code above is located in a Module and not behind the worksheet.

    You need to create an event that calls the code in your module. You do this with event code that is located behind the worksheet.

    Read http://www.cpearson.com/excel/Events.aspx and then
    http://www.ozgrid.com/VBA/vba-intersect.htm

    Or look at my attached example that creates an event behind the worksheet that calls your code.
    If I was doing it for real I'd test the cell C13 using Target and call the code only if it was what changed.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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