标签: excel-vba vba excel
我有这段代码:
Dim Output As String Output = "=SUM(C4:C" & ActiveCell.Row - 2 & ")" ActiveCell.FormulaR1C1 = Output
我在C56 输出显示为它的值"=Sum(C4:C54)" 但是Cell最终会得到=SUM($D:$BB)
"=Sum(C4:C54)"
=SUM($D:$BB)
我很难过。 任何帮助将不胜感激。