Range("B10000").End(xlUp).Row Then Dim x x = Range("B10000").End(xlUp).Row - Range("a100" />
乔山办公网我们一直在努力
您的位置:乔山办公网 > excel表格制作 > -excel自动删除,excel表表格内容自动删除

-excel自动删除,excel表表格内容自动删除

作者:乔山办公网日期:

返回目录:excel表格制作







Sub 宏1()
    If Range("a10000").End(xlUp).Row <> Range("B10000").End(xlUp).Row Then
        Dim x
        x = Range("B10000").End(xlUp).Row - Range("a10000").End(xlUp).Row
        Range("b1:b" & x).Delete Shift:=xlUp
    End If
End SuB

相关阅读

关键词不能为空
极力推荐

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