Hello
I would like to know if there is a kind of "Try ... catch" in the VBA. This is to test whether or not a string can be transformed into a number.
What I do, I get the title of the document and get the first 3 characters. Like this: 'ShortName = Left(Part.GetTitle, 3)'
Then I assign it to an integer variable, the problem is that if it's not a number then I have an error, which bothers me a bit.
I tested 'isNumeric', the problem is that it should always be false, because the typename is 'String'.
Thank you!