|
|||
|
Excel VBA Autofilter |
|||
|
|
|||
|
Create Professional Business Reports with a few clicks in Excel: Amazing Excel Dashboard Templates
AutoFilter without Excel VBA
Excel
Autofilter is an exCellent tool for analyzing your Data in Microsoft Excel. By
using autofilter you are able to filter your Data and analyze / see your Data results very quickly. 1. Your Customers (Customer names or company names) in Column A 2. Your Customer state (location / state of their business such as NY or CA) in Column B and 3. Revenue or Sales Numbers in Column C.
Select Cell A1 or any Cell within your Data and click on
Data > Filter > AutoFilter AutoFilter with Excel VBA
If you want to use Excel VBA or Excel Macros to Autofilter your excel Data you can use the following
very simple Excel Macro to do the same sales analysis as you did before
without VBA: Range("A1").AutoFilter
End Sub
ActiveSheet.AutoFilterMode = False
End Sub
ActiveSheet.ShowAllData
End Sub
Selection.AutoFilter Field:=2, Criteria1:="California" End Sub
|
|||
|
Browse our Free Small Business Guide for more tips and articles. Copyright 2010 SmallBiz1. All rights reserved. |