向朋友请教,用宏怎么如何清除连续三行值为空的数据?
Sub 删除c列为指定内容的行()Dim aaq, aaw As Integeraaq = [a65536].End(xlUp).Row For aaw = 5 To aaq If Cells(aaw, 3).Value = "" Then Rows(aaw).Delete End If NextEnd Sub
以上不能删除连续为空的数据
请高手改改为盼!
使用道具 举报
[em01]谢谢枯禅
问题解决了
学习一下
解决咋不给大师最佳呢
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|Archiver|Excel精英培训 ( 豫ICP备11015029号 )
GMT+8, 2024-5-16 15:56 , Processed in 0.282092 second(s), 9 queries , Gzip On, Yac On.
Powered by Discuz! X3.4
Copyright © 2001-2020, Tencent Cloud.