How to find values between a range and delete
Solved/Closed
Related:
- How to find values between a range and delete
- How to delete whatsapp account without login - Guide
- How to delete whatsapp account without phone - Guide
- How to delete snapchat account - Guide
- How to delete icloud tabs - Guide
- How to delete virtual memory windows 10 - Guide
2 responses
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Sep 21, 2010 at 09:51 AM
Sep 21, 2010 at 09:51 AM
Hi Irene,
Try this macro:
You might want to change the range and replace the < and > symbols by <= and >=.
Best regards,
Trowa
Try this macro:
Sub test() Set MyRng = Range("A1:A20") For Each cell In MyRng If cell.Value > 1E+17 And cell.Value < 1E+38 Then cell.EntireRow.Delete End If Next End Sub
You might want to change the range and replace the < and > symbols by <= and >=.
Best regards,
Trowa