A1-A10的1~10使用变量X,我建议使用Cells(x, y)的方式,事实上这样速度更快,例如:
s = 0For i=1 to To s = s + Cells(i, 1)Next iMsgBox s
望庐山瀑布 作者:李白