Option Explicit
Private Sub Form_Activate()
' displays hello world message
Dim strPhrase As String ' phrase to be displayed
Dim strGreeting As String ' greeting to be displayed
strGreeting = "hello"
strPhrase = "world"
Form1.Print strGreeting & " ";
Form1.Print strPhrase
End Sub