+ Reply to Thread
Results 1 to 2 of 2

Run VBA when a filter is put on data

  1. #1
    Forum Contributor
    Join Date
    03-27-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    290

    Run VBA when a filter is put on data

    Hello All,

    I know that I am able to detect if a change has been made via:
    Please Login or Register  to view this content.
    but can I detect if a filter has been applied and run vba from it?

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Run VBA when a filter is put on data

    Hello penfold1992,

    VBA can only detect changes made to cells directly from the keyboard. Changes made by Excel itself like formula calculations, filtering, etc. are invisible to VBA.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 01-16-2014, 10:55 AM
  2. Replies: 2
    Last Post: 10-07-2013, 04:57 AM
  3. [SOLVED] Filter issue: data does not appear in filter box
    By Madmortagan68 in forum Excel General
    Replies: 2
    Last Post: 04-15-2013, 01:00 PM
  4. Second Advanced Filter does not work based on the data generated from the filter
    By mucc1928 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-29-2011, 02:42 PM
  5. in data/filter/auto filter
    By sp8 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-11-2006, 08:10 PM

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