Excel allows you to filter cell data using the Filter, AutoFilter menu item. You can also access and create AutoFilter objects through VBA code. This module contains examples to access, modify, and use these AutoFilter objects.
Procedure Name | Type | Description |
(Declarations) | Declarations | Declarations and private variables for the modSnippetAutoFilter module. |
HTAutoFilter | Procedure | Show how to implement an AutoFilter on a table of data. |
HTRestoreAutoFilters | Procedure | Show how to restore filters saved by the HTSaveAutoFilters() procedure. |
HTSaveAutoFilters | Procedure | Show how to save the current Worksheet filters to memory in anticipation of making a change to filters. |
' Snippet code is partial code that demonstrates a particular feature, and does include separate Example code. ' Please see the Snippet notes for information about customizing and implementing Snippet code.
The source code in Total Visual Sourcebook includes modules and classes for Microsoft Access, Visual Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily add this professionally written, tested, and documented royalty-free code into your applications to simplify your application development efforts.
Total Visual SourceBook is written for the needs of a developer using a source code library covering the many challenges you face. Countless developers over the years have told us they learned some or much of their development skills and tricks from our code. You can too!
Supports Access/Office 2016, 2013, 2010 and 2007, and Visual Basic 6.0!
"The code is exactly how I would like to write code and the algorithms used are very efficient and well-documented."
Van T. Dinh, Microsoft MVP