Module: SnippetAutoFilter in Category Microsoft Excel : Examples from Total Visual SourceBook

Working with Excel AutoFilter objects in VBA and VB6.

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.

Total Visual SourceBook 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!

Additional Resources

Total Visual SourceBook CD and Printed Manual

Microsoft Access/ Office 2016, 2013, 2010, and 2007 Version
is Shipping!

New features in Total Visual SourceBook for Access, Office and VB6

Supports Access/Office 2016, 2013, 2010 and 2007, and Visual Basic 6.0!

View all FMS products for Microsoft Access All Our Microsoft Access Products


Reader Choice Award for MS Access Source Code Library
Reader Choice

"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

SourceBook Info

Additional Info




Free Product Catalog from FMS