Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

An excel selection question

Status
Not open for further replies.

grierfield

Technical User
Dec 18, 2002
55
US
This is an excel spreadsheet
I want to select data where the “Culture Date” is > 12/31/2008 – this isent quite working


Private Sub CommandButton1_Click()
With ActiveSheet
If Not .AutoFilterMode Then .[H2].AutoFilter

Range("H2").Select
Selection.AutoFilter
Selection.AutoFilter Field:= 6, Criteria1 is > "12/31/2008"

End With

End Sub
 




Hi,

Please post Excel VBA questions in forum707.

Skip,
[sup][glasses]Don't let the Diatribe...
talk you to death![tongue][/sup][sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top