Link to home
Start Free TrialLog in
Avatar of Jagwarman
Jagwarman

asked on

Delete but only if exact

I am trying to delete several words from my file but because two words are similar it deletes both. i.e. if I have PEARS, APPLES AND RED APPLES I only want to delete PEARS AND APPLES but keep all rows containing RED APPLES and the header row.

Could an expert help me with VBA code to do this please. .

Thanks in advance
ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rgonzo1971
Rgonzo1971

OR you could use a filter to select the ones with APPLES And the ones with PEARS

to delete them and the clear the filter
Avatar of Jagwarman

ASKER

Perfect Rgonzo1971 many thanks
always delivers thanks