I have a list with transactions. The first field is Date (maybe that's not
a good name) and I want to filter the records by month.
I tried this
Mon = Val(InputBox("Which month"))
Selection.AutoFilter Field:=1 Criteria:= "Month(Field 1) = Mon"
but this gives a syntax error as do several variations which I have tried,
although Month(Date) is apparently a VBA function.
Can anyone suggest the right syntax ?
Stuart
Bookmarks