Integer number : Integer « Data Type « VBA / Excel / Access / Word






Integer number

 

Sub MyNumber()
        Dim intNum As Integer
    
        intNum = 23.11
        MsgBox intNum
End Sub

 








Related examples in the same category

1.Local Integer variable
2.Add integer together
3.Select Case statement with Integer value
4.Input and Output
5.Add two numbers together
6.Use If statement with Integer
7.The Integer data type is the most efficient way of handling numbers from -32,768 to 32,767
8.Overflow error