Care to tell what kind of test you want to do, using an example if possible?
Can do. I have multiple tables of data where I need to weed out any rows where the first three letters of a string are not "SST". What I need to know is whether to use activecell.value or activecell.text and how to select only the first three characters of any given string.
Thanks,
Roger
Attn. VBA folks: It seems Roger Needs VBA. [NT]
ActiveCell.Value and ActiveCell.Text operates *MOST* of the time the same. The difference is that Value returns the stored value and Text returns the formatted value. For example, if A1 has
5.65%
Then .Value will be 0.0565, and .Text will be "5.65%"
You can test the string using same functions as in Excel, that is
My3char = Left(MyString,3)
Juan Pablo G.