bluefuel318
New Member
- Joined
- Feb 8, 2007
- Messages
- 30
I have a column that contains part numbers along with text, for example:
Pack 78101119220
Paint 78101118835
Pack ABC8620130
Dip ABCD8620131
I would like a macro to do a replace/delete/etc that would remove all letters from the column except for those within a part number, essentially leaving just the part number. In other words, replace all letters with blanks except for instances of "ABC" or "ABCD", which would leave the list above as:
78101119220
78101118835
ABC8620130
ABCD8620131
Anyone have any ideas?
Pack 78101119220
Paint 78101118835
Pack ABC8620130
Dip ABCD8620131
I would like a macro to do a replace/delete/etc that would remove all letters from the column except for those within a part number, essentially leaving just the part number. In other words, replace all letters with blanks except for instances of "ABC" or "ABCD", which would leave the list above as:
78101119220
78101118835
ABC8620130
ABCD8620131
Anyone have any ideas?