Thread: filter criteria
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
shiro[_2_] shiro[_2_] is offline
external usenet poster
 
Posts: 28
Default filter criteria

On auto filter,usually there is a criteria '(All)'.What
is the match word in the vba to represent '(All)' to
show all records?

here is my filter
SourceRange.AutoFilter Field:=7, _
Criteria1:="=" & WS.Range("A10").Value

I tried to add word (All) but it returns no record.
Thnk's

Rgds,

Shiro