當前位置:成語大全網 - 英語詞典 - 查找excel VB代碼

查找excel VB代碼

Sub macro 1()'這是壹個例程。

暗淡我壹樣長

I=5 '從第5行開始。

while cells(i,“A”)& lt;& gt" " '判斷A列是否為空。

下面兩行不用評論了。這種格式可以寫很多。

cells(i,“E”)= cells(I,“B”)* cells(I,“C”)* cells(I,“M”)* 7850/1000000

cells(i," G") = cells(i," B") * cells(i," C") / 1000000

I=i+1 '下壹行

末端接頭