我需要使用VBA粘贴到一个单元格中,并进行3个关联的VLOOKUP搜索
TableIndex = 1
i = 1
ShiftColumn = 20
ShiftCount = 20
Cells(TableIndex, 43).FormulaR1C1 = "=CONCATENATE(VLOOKUP(R" & i & "C" & ShiftColumn & "R7C2:R" & ShiftCount & "C10,9),TEXT(VLOOKUP(R" & i & "C" & ShiftColumn & "R7C2:R" & ShiftCount & "C10,3),""hhmm""),TEXT(VLOOKUP(R" & i & "C" & ShiftColumn & "R7C2:R" & ShiftCount & "C10,4),""hhmm""))"
但是它给出了1004错误
请帮助