VAL Function in Excel VBA : To Extract Numeric Part from a String. | Useful Gyaan
This function returns the numbers found at the beginning of a string which is passed as an argument. It stops reading the string at the first character that it can't recognize as part of a number. But it ignores spaces. Syntax: VAL(string) Examples: Expre...