以下有什么问题?(级别:初学者)我想将两个不同 Excel 表中的两个范围相乘后得到的答案相加。
Dim iRowCounter As Integer
For iRowCounter = 3 To 47
' C3 to C47 from oSheet6
' C22 to C66 from oSheet5
osheet7.Range("A" & iRowCounter - 1).Value = (oSheet5.Range("C" & iRowCounter+19).Value * oSheet6.Range("C" & iRowCounter).Value) + (oSheet5.Range("C" & iRowCounter+20).Value * oSheet6.Range("C" & iRowCounter+1).Value)
提前致谢