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

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -