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