I am new to vba and i have been looking at some string items today. Regarding the above code I have a question.... Why does this code only return:Code:Val("1234.5.56Excel")
1234.5?
If this is to return numbers why would it not return
1234.5.56?
Is it because the 56Excel is alphanumeric? Does Val() not recognize numbers that are alphanumeric?




Reply With Quote

Bookmarks