Hi
What code will I use to find a person in col A, then delete all the cells it finds?
EG - I am searching for "Medcalf" so I can exclude him from a report, he has 6 entries. I want to delete the section, instead of a cell count so next time it runs, it will search the name range and not cells.
Columns("A:A").Select
Selection.Find(What:="Medcalf", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
Thanks
What code will I use to find a person in col A, then delete all the cells it finds?
EG - I am searching for "Medcalf" so I can exclude him from a report, he has 6 entries. I want to delete the section, instead of a cell count so next time it runs, it will search the name range and not cells.
Columns("A:A").Select
Selection.Find(What:="Medcalf", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
Thanks