Results 1 to 7 of 7

Refresh Autofilter when data is added?

Threaded View

  1. #1
    Registered User
    Join Date
    02-04-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    48

    Refresh Autofilter when data is added?

    Hi guys,

    So I have a column, say column A, that I have a auto filter assigned. I would like it to auto-refresh the filter every time I add in data at the end.

    I found this macro, but it only works for changes made within the filter, not if I add in data at the end.

    http://www.ozgrid.com/forum/showthread.php?t=59917

    Private Sub Worksheet_Calculate()

    If Me.FilterMode = True Then
    With Application
    .EnableEvents = False
    .ScreenUpdating = False
    End With

    With ActiveWorkbook
    .CustomViews.Add ViewName:="Mine", RowColSettings:=True
    Me.AutoFilterMode = False
    .CustomViews("Mine").Show
    .CustomViews("Mine").Delete
    End With


    With Application
    .EnableEvents = True
    .ScreenUpdating = True
    End With
    End If

    Please let me know if you guys can help me out!
    Last edited by HC1994; 03-13-2014 at 11:45 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 09-28-2013, 07:11 PM
  2. Excel 2007 : Refresh Autofilter
    By nasfric in forum Excel General
    Replies: 1
    Last Post: 08-22-2011, 07:14 PM
  3. Refresh Autofilter
    By kellyfspringer in forum Excel General
    Replies: 5
    Last Post: 07-12-2009, 07:08 PM
  4. Automatically Refresh Autofilter (2007)
    By JayUSA in forum Excel General
    Replies: 3
    Last Post: 06-15-2009, 05:23 AM
  5. Autofilter Refresh Code
    By RhyGuy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2009, 05:01 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