Results 1 to 16 of 16

Autofilter last column

Threaded View

jomili Autofilter last column 05-19-2011, 08:30 AM
romperstomper Re: Autofilter last column 05-19-2011, 08:36 AM
jomili Re: Autofilter last column 05-19-2011, 08:39 AM
snb Re: Autofilter last column 05-19-2011, 08:41 AM
jomili Re: Autofilter last column 05-19-2011, 08:41 AM
snb Re: Autofilter last column 05-19-2011, 08:38 AM
romperstomper Re: Autofilter last column 05-19-2011, 09:16 AM
jomili Re: Autofilter last column 05-19-2011, 09:20 AM
romperstomper Re: Autofilter last column 05-19-2011, 09:23 AM
jomili Re: Autofilter last column 05-19-2011, 09:28 AM
romperstomper Re: Autofilter last column 05-19-2011, 09:30 AM
jomili Re: Autofilter last column 05-19-2011, 09:36 AM
  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,065

    Autofilter last column

    My current code is:
     ActiveSheet.UsedRange.AutoFilter Field:=16, _
                Criteria1:="0", _
                Operator:=xlOr, _
                Criteria2:="(0)"
    However, I'm working with multiple sheets, and column 16 isn't always the column I want to filter, but it's always the last column I want to filter. How would I change my code to do that?

    Thanks,
    John
    Last edited by jomili; 05-24-2011 at 04:42 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1