hello everyone I have been practising using VBA and input Boxes.
I have this Code but I want to put in if answer is Greater than 10 then MsgBox wow thats alot. and if its less than 10 then MsgBox "Go to the travel Agents Pronto" how do I do this???
Thanks in advance
Alan
Sub Question3()
Num = InputBox("How many countries have you visited?")
MsgBox Num & ". Really that many, I never knew that!!"
End Sub
I have this Code but I want to put in if answer is Greater than 10 then MsgBox wow thats alot. and if its less than 10 then MsgBox "Go to the travel Agents Pronto" how do I do this???
Thanks in advance
Alan
Sub Question3()
Num = InputBox("How many countries have you visited?")
MsgBox Num & ". Really that many, I never knew that!!"
End Sub