Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Oct 2005
    Location
    West Jordan, Utah, USA
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Selecting objects within filter (Excel/2003)

    Does anyone know how to select objects that you specified a filter for within Excel VBA?
    Here is the code I've used so far;
    Selection.AutoFilter Field:=1, Criteria1:=">299999", Operator:=xlAnd
    Selection.AutoFilter Field:=10, Criteria1:=" - "
    but I want to only select items that were filtered.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Selecting objects within filter (Excel/2003)

    Try

    Selection.CurrentRegion.SpecialCells(xlCellTypeVis ible).Select

Posting Permissions

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