CordingBags
New Member
- Joined
- Mar 7, 2022
- Messages
- 43
- Office Version
- 2016
- Platform
- Windows
I need a macro to,
IF i5=-99 THEN delete A5:C5,
then it needs to move to cell i6 and perform the same check IF i6=-99 THEN delete A6:C6.
Needs to keep repeating this line by line check until reaching i1057.
I don't expect necessarily to see the cursor moving through the sheet, just to end up with the cells in A5:C1057 deleted, if the content of their corresponding row i cells were-99.(minus 99).
Any help suggestion much appreciated.
IF i5=-99 THEN delete A5:C5,
then it needs to move to cell i6 and perform the same check IF i6=-99 THEN delete A6:C6.
Needs to keep repeating this line by line check until reaching i1057.
I don't expect necessarily to see the cursor moving through the sheet, just to end up with the cells in A5:C1057 deleted, if the content of their corresponding row i cells were-99.(minus 99).
Any help suggestion much appreciated.