excel vba - find function with two criteria in vba -


i want search data 2 conditions. eg: column "a" should match str (string) , column "j" should contain "completed" below coding, able put 1 condition. please advise me changes required add second condition.

 set rng = .find(what:=str,after:=.cells(.cells.count),lookin:=xlvalues, _                            lookat:=xlwhole, searchorder:=xlbyrows, _                           searchdirection:=xlprevious, _                             matchcase:=false) 


Comments

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

javascript - Why Selenium can't find an element that is graphically visible -

angular - Angular2 Router: Cannot find primary outlet to load 'HomeComponent' -