ajhez
05-03-2017, 11:21 AM
Hi all
I have a document with a large table that will be populated with information as per the example below.
Type 1
Type 2
Type 3
Type 4
Matter 1
0%
2%
3%
1%
Matter 2
0%
0%
0%
0%
Matter 3
1%
0%
4%
0%
I need a macro to recognize when all 4 cells in a row have a 0% value and then delete those rows -e.g. 'Matter 2' in the above example. For the avoidance of doubt, other rows can remain where one ore more cells in that row has a value of 0% provided that not all 4 cells in that row are 0%.
Any thoughts would be great.
Thanks,
AJHEZ
I have a document with a large table that will be populated with information as per the example below.
Type 1
Type 2
Type 3
Type 4
Matter 1
0%
2%
3%
1%
Matter 2
0%
0%
0%
0%
Matter 3
1%
0%
4%
0%
I need a macro to recognize when all 4 cells in a row have a 0% value and then delete those rows -e.g. 'Matter 2' in the above example. For the avoidance of doubt, other rows can remain where one ore more cells in that row has a value of 0% provided that not all 4 cells in that row are 0%.
Any thoughts would be great.
Thanks,
AJHEZ