Hi,
I need to create a code that once I paste in some data, the code activates and looks down range("A2:A10000") (Or last row, the data will never go past 10000) and if a cell contains a "Y" then delete A2:J2 not entirerow.
Example
<tbody>
</tbody>
I need to create a code that once I paste in some data, the code activates and looks down range("A2:A10000") (Or last row, the data will never go past 10000) and if a cell contains a "Y" then delete A2:J2 not entirerow.
Example
A | B | C | D | E | F | G | H | I | J |
1 | 3 | 10 | 2 | 4 | 8 | 9 | 4 | 4 | 6 |
Y | 4 | 7 | 5 | 9 | 9 | 8 | 8 | 10 | 8 |
1 | 2 | 7 | 8 | 6 | 10 | 2 | 1 | 8 | 3 |
RESULT | |||||||||
A | B | C | D | E | F | G | H | I | J |
1 | 3 | 10 | 2 | 4 | 8 | 9 | 4 | 4 | 6 |
1 | 2 | 7 | 8 | 6 | 10 | 2 | 1 | 8 | 3 |
<tbody>
</tbody>
Last edited: