|
| ||||||||||
| Tags: microsoft excel, microsoft office, office application, spreadsheet |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Is it possible to set auto-refesh for column which has a auto filter in Excel
|
|
#2
| |||
| |||
| Re: Is it possible to set auto-refesh for column which has a auto filter in Excel
This example uses data in column A. The macro will automatically refresh the autofilter whenever formulas are calculated: Code: Private Sub Worksheet_Calculate()
Application.EnableEvents = False
Set r = ActiveCell
Columns("A:A").Select
Application.CutCopyMode = False
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:="<>"
r.Select
Application.EnableEvents = True
End Sub |
|
#3
| |||
| |||
| Re: Is it possible to set auto-refesh for column which has a auto filter in Excel
There are some codes that might work. Complete the first Workbook_Open-/Workbook_BeforeClose - Events with these lines: Code: Private Sub Workbook_Open (Cancel As Boolean) Call Terminate_Class End Sub Private Sub Workbook_Open () Call Init_Class End Sub Code: Option Explicit Public gblnRefreshInProgress As Boolean As a private lobjQueryTableClass clsQueryTable Public Sub Init_Class () Set lobjQueryTableClass = New clsQueryTable Set lobjQueryTableClass.prpQueryTable = Tabelle1.QueryTables End Sub Public Sub Terminate_Class () Set lobjQueryTableClass = Nothing End Sub |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Is it possible to set auto-refesh for column which has a auto filter in Excel" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Auto Filter in Excel | Lanka Boy | Windows Software | 2 | 07-01-2012 08:17 PM |
| Difference between Auto Silent and Auto Profiles Manager in iphone | KaIilAshhh | Portable Devices | 4 | 05-09-2011 11:03 AM |
| Auto-Tag whole library with Winamp Auto-tagger | JAMIN | Windows Software | 3 | 08-07-2009 12:05 PM |
| Auto hide rows and column in Excel 2007 | Murena | Windows Software | 3 | 28-02-2009 06:00 PM |
| Auto Logon AND auto lock workstation? | Nadeem | Windows XP Support | 3 | 09-11-2006 04:49 AM |