Trying to figure where the output will appear.

  • Thread starter Thread starter Karen
  • Start date Start date
K

Karen

Teaching myself VB and trying the first test program, and
can't find the results.

Private Sub UserForm_Click()
Form1.Show
For i = 1 To 5
Print "Hello"
Next i
End Sub

Where do I look to see Hello printed 5 times?

I did compile and run the program.
 
In the Immediate window -- View | Immediate Window. The more interesting question is, where do you want to see it.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Back
Top