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
Dim strSpace As String ' blank space
strGreeting = "hello"
strPhrase = "world"
strSpace = " "
Form1.Print strGreeting & strSpace & strPhrase
End Sub