J
JeffFinnan
In a Selection.AutoFilter Field is there a way to have Criteria1 represent
"all"?
For example,
Selection.AutoFilter Field:=4
alone will represent "all"
and
Selection.AutoFilter Field:=4, Criteria1:=Price
will select based on the price.
I have set up a Userform so that "all" could be represented by ">0" in the
string variable Price. But I would preferred to have it represented by "all" in
some form when the textbox is left blank.
I could figure out some code that the ", Criteria1:=Price" is added after
Selection.AutoFilter Field is added but that seems to be going overboard.
Thanks,
Jeff
"all"?
For example,
Selection.AutoFilter Field:=4
alone will represent "all"
and
Selection.AutoFilter Field:=4, Criteria1:=Price
will select based on the price.
I have set up a Userform so that "all" could be represented by ">0" in the
string variable Price. But I would preferred to have it represented by "all" in
some form when the textbox is left blank.
I could figure out some code that the ", Criteria1:=Price" is added after
Selection.AutoFilter Field is added but that seems to be going overboard.
Thanks,
Jeff