how convert string to int in vba code example
Example: vba string to integer
MsgBox CInt("7,55") ' Integer -> 8
MsgBox CLng("7,55") ' Long -> 8
MsgBox CDbl("7,55") ' Double -> 7,55
MsgBox CInt("7,55") ' Integer -> 8
MsgBox CLng("7,55") ' Long -> 8
MsgBox CDbl("7,55") ' Double -> 7,55