hi there,
trying to use the following but for some darn reason it's not working. I get no error messages and the stepping into it does nothing. Any ideas?
set myRng = Worksheets("Monthly").Range("A1:B10000")
correctVal = Workbooks("myWB.xls").Worksheets("Monthly").WorksheetFunction.VLookup(myVal, myRng, 2, False)
trying to use the following but for some darn reason it's not working. I get no error messages and the stepping into it does nothing. Any ideas?
set myRng = Worksheets("Monthly").Range("A1:B10000")
correctVal = Workbooks("myWB.xls").Worksheets("Monthly").WorksheetFunction.VLookup(myVal, myRng, 2, False)