Hello,
I am using a dlookup function to get a string from a table.
The problem is that the strings are formatted like this:
7Y or 10Y etc.
Basically I want to drop the Y at the end.
Is there a quick way of telling VBA to only read until it reaches a non-numeric character?
Or am i forced to convert them individually (which will be a hastle because some are 1 digit numbers and some are 2)
Thanks
I am using a dlookup function to get a string from a table.
The problem is that the strings are formatted like this:
7Y or 10Y etc.
Basically I want to drop the Y at the end.
Is there a quick way of telling VBA to only read until it reaches a non-numeric character?
Or am i forced to convert them individually (which will be a hastle because some are 1 digit numbers and some are 2)
Thanks