theSTUDENT
New Member
- Joined
- Mar 31, 2011
- Messages
- 1
Okay here is what I need. I have an excel file with a BUNCH of records (2 columns and over 100,000 rows. I need a macro to search for a string in one of the columns and if that string is found then automatically delete that whole row. The main thing is I need to be able to search for a string that may vary in the beginning but has the same ending. For example, I need both of the following strings deleted - dtd44565 and jhk34565. Both strings end in 4565 which is the 4 digit plant location # but the preceding model #'s are different(dtd4) and (jhk3). I want the code to search for and delete both of these records. (something like %4565 only I don't know vb code so I don't know if there is a symbol that can be used to search for ANY string with 4565 at the end) Can somebody PLEASE HELP??