Test if Last Character in Column of Cells is Alpha Character
You can use not isnumeric()
If not isnumeric(Right(Trim(Range("A1")), 1)) Then
or
If isnumeric(Right(Trim(Range("A1")), 1)) Then
The trim is needed if there may be blanks at the end of the string.
"Benjamin" wrote:
How do I test if the last character in Column A is a Alpha Character
Sample cell: 0238:H601X or 0238:T0624
the numbers in the cell still will show up as Text format.
How can I do an excel formula or VBA to give me a true/false if the last
character is an alpha(letter)?
|