LuisVilarMoreira
New Member
- Joined
- Feb 15, 2018
- Messages
- 19
- Office Version
- 2016
- Platform
- Windows
Hello everybody
I need same help.
I need to delete rows with the value 0 in column B
I made this:
Columns("B:B").Select
Selection.Find(What:="0", After:=ActiveCell, LookIn:=xlValues, LookAt:= _
xlPart, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
Rows(ActiveCell.Row).Select
Selection.Delete Shift:=xlUp
I works just fine for the first row with the 0 value.
I need to repeat for all the rows with the same condition (0 int the column B).
Best regards
Thank you all
Luís
I need same help.
I need to delete rows with the value 0 in column B
I made this:
Columns("B:B").Select
Selection.Find(What:="0", After:=ActiveCell, LookIn:=xlValues, LookAt:= _
xlPart, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
Rows(ActiveCell.Row).Select
Selection.Delete Shift:=xlUp
I works just fine for the first row with the 0 value.
I need to repeat for all the rows with the same condition (0 int the column B).
Best regards
Thank you all
Luís