软件:VBA
版本:2007
Into_Date_B = "=(match(" & Into_Date & "," & (j * 100) & ".txt" &
"!$A:$A,0))"
Into_Date_E = "=(match(" & Into_Date & "," & (j * 100) & ".txt" &
"!$A:$A,1))"
If Cells(i, 18) = j * 100 Then ActiveSheet.Cells(i, 29).Value = "=vlookup("
& Into_Time & ",(INDIRECT(" & (j * 100) & ".txt" & "!$B" & Into_Date_B &
":$H" & Into_Date_E & ")),5,0)"
请问 为什么 into_date_B 和 into_date_E 改成单纯数字的时候 就能够正常
但是如上述这样写就有问题
问题在于 into_date_B 和into_date_E他们回传的是公式 但不是数值
可以让他只回传计算结果吗?