使用宏删除行 [英] Delete rows using a Macro

查看:70
本文介绍了使用宏删除行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有不同的表单,我需要删除所有工作表的某些行。  我需要一个可以做到这一点的简单宏,而不是一次做一个

I have different forms that I need to delete certain rows for all the worksheets.  I need a simple macro that can do this instead of doing it one at a time

推荐答案

嗯,你的细节不多问题,但您可以使用这样的宏从活动工作簿中的每个工作表中删除第2,4和6行。

Well, there is not a lot of detail in your question, but you can use a macro like this to delete rows 2, 4 , and 6 from every sheet in your active workbook.




这篇关于使用宏删除行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆