The question is how to make sure that if the entered value is empty (""), then exit the procedure, otherwise convert it to a numeric representation. How to do it?
Sub macrotest()
Dim num As Integer
Dim text As String
num = InputBox("enter the number", "number input")
Select Case num Mod 100
Case 2, 4, 6, 8
MsgBox "even number" & num & ""
Case Else
MsgBox "idk" & num & ""
End Select
End Sub