Excel 2007 VBA issue with structured references -
if create range structured reference , try run find function, excel throws 50290 error application-defined or object-defined error
. google says, error seems related missing reference. missing reference is not obvious looking through tools/references.
set colrange = range("table[column]") set r = colrange.find(id, lookin:=xlvalues)
line 2 throws error. colrange variable looks fine in watch window. can extract values using .cells
property. find (ctrl+f)
works fine. hope not overlooking simple.
if not able find id in colrange reference object r not defined. , when u use property of object r, throw error.
hope answer query, if not paste ur code here, check that.
Comments
Post a Comment