excel - .Find method does not work -
i trying use .find method find particular cell in datasheet using following code, worked before, don't understand why not working time...
dim targetcell range activeworkbook.worksheets(2).activate set targetcell = activesheet.range("a: p").find(what:="summary total", lookin:=xlvalues, lookat:=xlwhole)
the cell "i79".value = summary total
could help? thank you!
there shouldn't space between "a: p"
, check there isn't space after "summary total" in cell.
Comments
Post a Comment