To declare a variable in VBA use the Dim (short for Dimension) statement.
Sub inttype() Dim myVar As Integer End Sub