我有以下查找
ActiveCell.FormulaR1C1 = _
"=IFERROR(VLOOKUP(RC[-4], 'C:\Users\me\Downloads\Ca%2f_client_vlookup\[" & myFileNameCA & "]" & mySheetNameCA & "'!R10C1:R112C7,1,FALSE),"""")"
我怎样才能将返回的值存储到变量中?
答案 0 :(得分:0)
dim variable
variable = WorksheetFunction.VLOOKUP(RC[-4], 'C:\Users\me\Downloads\Ca%2f_client_vlookup\[" & myFileNameCA & "]" & mySheetNameCA & "'!R10C1:R112C7,1,FALSE)