VB UserForms

G

GLHEC-BLS

I am just learning how to create userforms using VB code in PowerPoint. In
all the resources I have found on the web I have not been able to find one
that shows how to get what I create on a userform in the VB editor to show up
in a presentation. The closest example I have is this but it still does not
show during show mode in powerpoint. It does work if I hit run sub/userform
in the VB editor though. Any suggestions?? Also any insightful links for VB
beginners specific to using VB in Powerpoint is greatly appreciated. Thanks.

Private Sub CommandButton1_Click()
Image2.Picture = Image1.Picture
End Sub
Sub ShowForm()
UserForm2.Show
End Sub
 
G

GLHEC-BLS

Like I said, I am new to VB, as in I have been using the help function for
two days to figure out what I know. So by load statement you mean......?

I understand that what Steve wrote would create a command button that when
clicked would show the form, but how would I write it so the form would show
right away when you open PPT in show mode, to make it always visible. Like a
command that makes userform2 open when PPT show mode is initialized....er
something.

Thanks for the help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top