I have a bunch of cells on a sheet and need to find a specific one by a "key word" and then extract certain elements of it. The contents of the cell I'm looking for is similar to:
"The symbols are: ABC, DEF, ASD; more symbols: SDSF, ASD; also: UOI, DGF". With my keyword being "The symbols are".
If a cell containing this keyword is found, I'd like to extract only elements of it that have between 1 and 4 letters and are in all caps (the elements are stock symbols, fyi) and put it into an array held in VB memory that I can play with later. So, the exacted array would be: (ABC, DEF, ASD, SDSF, ASD, UOI, DGF).
Is this possible to do? Note that the cell contents are rather sporadic and are not nicely separated by comma or a space and the keyword is not always in the very front either (sometimes there's more than one, but I'm starting with one), that's why I have the 1 to 4 letters and all caps criteria to find what I need.
Thank you
Bookmarks