Pages

Wednesday, March 21, 2012

The If-Then structure

Sub GreetMe()

If Time < 0.5 Then MsgBox “Good Morning”

If Time >= 0.5 Then MsgBox “Good Afternoon”

End Sub

 

No comments:

Post a Comment