I had a table of text data like this:
ABCD
BCDE
CDEF
DEFG
When I tried using Range.find to search for a specific text, such as "DE", I wanted Excel to return the 4th datum ("DEFG") because it began with "DE". However, as you expect, Excel returned the 2nd datum ("BCDE") because it also contained "DE", but at the end of the string.
Anything I could do about this?
Many thanks for spending a minute or two for me to help out. Much appreciated!
ABCD
BCDE
CDEF
DEFG
When I tried using Range.find to search for a specific text, such as "DE", I wanted Excel to return the 4th datum ("DEFG") because it began with "DE". However, as you expect, Excel returned the 2nd datum ("BCDE") because it also contained "DE", but at the end of the string.
Anything I could do about this?
Many thanks for spending a minute or two for me to help out. Much appreciated!