Hello, I am trying to grab a number from a string to determine if it is even or odd. I am using the following function
However when I run it I get the error message type mismatch. I am assuming this is due to the fact I am running a math function on a string? Any suggestions or change I can use to get this to work right? I saw one example that used the .NumberFormat but that threw errors as well. What is the best way to parse a string character into type int?![]()
Please Login or Register to view this content.
Bookmarks