+ Reply to Thread
Results 1 to 4 of 4

Auto Refresh Data Filter?

  1. #1
    Registered User
    Join Date
    12-08-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    2010
    Posts
    16

    Auto Refresh Data Filter?

    I have columns of data in several worksheets, all in one workbook. The data in each column is dynamic, and any number from around 1000 to 100,000 cells in each column can be active at once. The remaining cells all show up as #VALUE!. Since this data is being sourced for a chart, I have filters set up to hide cells with #VALUE! in them. However, as the data changes, these filters are not automatically being applied. Thus the chart is not updating automatically with the data as it should.

    I was using the following macro when I was only sourcing data from a single worksheet:

    Please Login or Register  to view this content.
    However when I started sourcing data from multiple sheets (all in the same workbook) it stopped working, now it only autofilters one sheet of data. I've tried copying it to every sheet in VBA but that doesn't seem to work. Can anyone identify what the problem is and how I can apply the proper code to my entire workbook?


    Thanks!
    Last edited by ccop; 01-05-2015 at 07:23 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Auto Refresh Data Filter?

    Hi,

    Please don't forget the code tags. Your post does not comply with Rule 3 of our Forum
    RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    12-08-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    2010
    Posts
    16

    Re: Auto Refresh Data Filter?

    Ok, all sorted!

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Auto Refresh Data Filter?

    Hi,

    I'd be inclined to use Advanced Filter to extract the required records to a chart data area. Apply a dynamic range name to that resultant range of cells and use the range name for the chart. I'd also wrap your formula in an =IFERROR(your_formula,0) function to avoid #Values, or better still make sure your filter criteria doesn't pick these up in the first place.

+ 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. [SOLVED] refresh auto filter
    By jenn in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  2. refresh auto filter
    By CLR in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 04:05 AM
  3. [SOLVED] refresh auto filter
    By jenn in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  4. refresh auto filter
    By jenn in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  5. refresh auto filter
    By jenn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-19-2005, 08:05 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