卡饭网 > excel > 正文

excel中用vba删除某行的代码是什么

来源:本站整理 作者:梦在深巷 时间:2016-07-30 09:45:17

给你完整代码把:

1

2

3

4

5

6

7


sub aa()
for i=range("C65536").end(xlup).row to 1 step -1
if cells(i,3)= 0 then
rows(i).delete
end if
next
end sub

相关推荐