Thread
:
delete rows with multiple criteria
View Single Post
#
2
Posted to microsoft.public.excel.programming
Don Guillett
external usenet poster
Posts: 10,124
delete rows with multiple criteria
you can use a for/next loop
if cells(i,"c")="a" or cells(i,"c")="b" then rows(i).delete
or a select case statement
case is "a", "b", "c"
--
Don Guillett
SalesAid Software
"sverre" wrote in message
...
Hi
I would like to delete all rows that contain these names in col C
EXO_BASKET
EXO_CLI
EXO_EXOTIX
EXO_FLOW
FXSECUR
EXO_OTC_CLI
EXO_OTC_EXOTIX
EXO_OTC_FLOW
EXO_TURBO
EXO_OTC_BASKET
How do I write this code?
Many thanks for the help
Br
Sverre
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett