Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 26th, 2006, 05:33 AM
Registered User
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default AutoFilter 5 columns at once

Could anyone help me with this. I need to filter 5 columns at once.


Sub tester()

Selection.AutoFilter Field:=12 = 11 = 10 = 9 = 8, Criteria1:="=#*", Operator:=xlOr, _

End Sub

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enter Criteria Above Header To apply Autofilter stroggo Excel VBA 2 April 16th, 2008 03:35 AM
two columns if... gabster XSLT 0 August 15th, 2007 12:21 PM
Remove Autofilter yogeshyl Excel VBA 4 June 11th, 2007 06:59 AM
Autofilter taking too much of time raaghu15 Excel VBA 2 March 4th, 2005 05:43 PM
Columns below each other pontitt2 SQL Language 4 February 12th, 2004 04:27 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.