Oct 3, 2005 #1 komark Technical User Sep 12, 2005 134 US I need a macro in Excel that would check the value for a certain cell. If the value is zero then delete that entire row. Can anyone help me please?
I need a macro in Excel that would check the value for a certain cell. If the value is zero then delete that entire row. Can anyone help me please?
Oct 3, 2005 #2 PHV MIS Nov 8, 2002 53,708 FR Have a look at the EntireRow property of the Range object: If CertainCell.Value = 0 Then CertainCell.EntireRow.Delete Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
Have a look at the EntireRow property of the Range object: If CertainCell.Value = 0 Then CertainCell.EntireRow.Delete Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886