grierfield
Technical User
I am trying to select the “VRE” within the dates Below – but I cant get the “AND” operator to work - HELP
Private Sub CommandButton1_Click()
With ActiveSheet
If Not .AutoFilterMode Then .[H2].AutoFilter
Range("H2").Select
Selection.AutoFilter
Selection.AutoFilter Field:=6, Criteria1:=">12/31/2008" AND
Selection.AutoFilter Field:=6, Criteria1:="<=12/31/2009"
Selection.AutoFilter Field:=8, Criteria1:="VRE"
End With
End Sub