Val() returns a numerical representation of a string : Val « Data Type « VBA / Excel / Access / Word






Val() returns a numerical representation of a string

 
Sub valDemo()
   MsgBox Val("4") + 9
End Sub

 








Related examples in the same category

1.Val() converts numerical to string data
2.Use Val to convert user input to number value