GassySpudz
New Member
- Joined
- Apr 30, 2019
- Messages
- 10
Hi All,
I've gotten myself in a right mess, sulked like a child and deleted all my work!
What I would like is the main body of a macro which I will hopefully adjust to what I need and I can call upon the sub within another macro.
I want to be able to delete multiple rows if column A cells contain a certain value (with the ability to add extra criteria in the future), but across ALL sheets!
I managed to get it working for a single sheet, but whilst using this site to get it to do all sheets it kept coming up with errors and during my “fixing” I’ve broken it, threw all my toys out the pram and just deleted everything!
If anyone has a code along these lines I can use to tinker with – and hopefully not break again – that would be much appreciated.
E.G
Delete x all sheets
X 2 A delete
B 2 A Keep
X 5 B Delete
I've gotten myself in a right mess, sulked like a child and deleted all my work!
What I would like is the main body of a macro which I will hopefully adjust to what I need and I can call upon the sub within another macro.
I want to be able to delete multiple rows if column A cells contain a certain value (with the ability to add extra criteria in the future), but across ALL sheets!
I managed to get it working for a single sheet, but whilst using this site to get it to do all sheets it kept coming up with errors and during my “fixing” I’ve broken it, threw all my toys out the pram and just deleted everything!
If anyone has a code along these lines I can use to tinker with – and hopefully not break again – that would be much appreciated.
E.G
Delete x all sheets
X 2 A delete
B 2 A Keep
X 5 B Delete