+ Reply to Thread
Results 1 to 2 of 2

Automation

  1. #1
    Brian
    Guest

    Automation

    What code do I need to write, if I would like an advanced filter to run
    everytime I click on a particular worksheet.

    So if I go to worksheet A and change something then the next time I go to
    worksheet b the advanced filter will have automatically run for me?

    I am able to get this far.

    Range("C8:AH233").AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:= _
    Range("BA3:BA4"), Unique:=False

  2. #2
    Ed
    Guest

    Re: Automation

    Check out the VBA help for the Activate Event and the Example.

    "Brian" <[email protected]> wrote in message
    news:[email protected]...
    > What code do I need to write, if I would like an advanced filter to run
    > everytime I click on a particular worksheet.
    >
    > So if I go to worksheet A and change something then the next time I go to
    > worksheet b the advanced filter will have automatically run for me?
    >
    > I am able to get this far.
    >
    > Range("C8:AH233").AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:=

    _
    > Range("BA3:BA4"), Unique:=False




+ 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