Hello There,
I have the below code used for only one column search criteria:
I would like to include more than one column in the search criteria.
LOVMstTableColumn2
LOVMstTableColumn3
'---
LOVSearchValue2
LOVSearchValue3
Could you please advise, how this can be done?
Thank you & regards,
Don
I have the below code used for only one column search criteria:
Code:
LOVMstTableColumn1 = "Age"
LOVSearchValue1 = "2"
if LOVMstTableColumn1 <> "" Then
.Range.AutoFilter Field:=.ListColumns(LOVMstTableColumn1).Index, Criteria1:="=*" & LOVSearchValue1 & "*"
End if
I would like to include more than one column in the search criteria.
LOVMstTableColumn2
LOVMstTableColumn3
'---
LOVSearchValue2
LOVSearchValue3
Could you please advise, how this can be done?
Thank you & regards,
Don