sub 计算()for i = 1 to range("A65536").end(xlup).row" />
乔山办公网我们一直在努力
您的位置:乔山办公网 > excel表格制作 > 如何用VBA代码表示<em>EXCEL</em>表中C列的数据等于A列数据加B...-excel

如何用VBA代码表示<em>EXCEL</em>表中C列的数据等于A列数据加B...-excel

作者:乔山办公网日期:

返回目录:excel表格制作




sub 计算()
for i = 1 to range("A65536").end(xlup).row()
cells(i,3)=cells(i,1)+cells(i,2)
next
end sub


Sub 求和()
    For i = 1 To [a65536].End(3).Row
        Cells(i, 3) = Cells(i, 1) + Cells(i, 2)
    Next
End Sub

相关阅读

关键词不能为空
极力推荐

ppt怎么做_excel表格制作_office365_word文档_365办公网