If TypeOf (variable) Is Integer Then ElseIf TypeOf (variable) Is Double Then ElseIf TypeOf (variable) Is String Then End If