View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
learningaccess learningaccess is offline
external usenet poster
 
Posts: 37
Default Delete row if "Not" found for Multiple conditions

The title may be confusing so I will try to explain better here. I have a
pile of data that I am using a macro to clean up to my liking. I would also
like to use VB to delete any rows that do not contain a specific part number
in column "A" for example:

SPN341014
SPN347016
SPN314017

There are 30 specific part numbers that I would like to limit my data to, so
I would like to for VB to search for those part numbers and delete all of the
other rows.