Define an integer : Variable Type « Language Basics « VBA / Excel / Access / Word






Define an integer

 
Sub intSub()
   Dim number As Integer
   number = 32
End Sub

 








Related examples in the same category

1.Types of Variables
2.Read integer number from InputBox
3.Define a string variable
4.Mix integer and string in MsgBox