View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Don Guillett
 
Posts: n/a
Default How to Delete Rows

something like
x=cells(rows.count,"g").end(xlup).row
for each c in range("g2:g"&x)
if c
next
--
Don Guillett
SalesAid Software

"mike" wrote in message
oups.com...
I have 'exported' my Yahoo address book. There does not appear to be a
way to just export a portion of the address book. It gave me a CSV file
which I am looking at with Excel 2003.
Each row represents the data for each person in my address book. One of
the columns, G, contains the name(s) of each address list that each
person is in within the book. As a result column G may have anything
from 1 to about 6 entries each seperated by a comma.

One of the address lists I have in the book is called 'trips' . I want
to be able delete any of those rows that do not contain the word
'trips' in column G.

Thanks for any and all help.