Attempts to store the numbers 52 and 5.2 in a variable declared as type Byte.
Sub ByteDemo() Dim myVar As Byte myVar = 52 Debug.Print myVar myVar = 5.2 Debug.Print myVar End Sub