how do I access a userform through a macro?

M

Matthew Lasar

I've created a little userform in VBA Word 2002 called Userform1. But
I can't figure out how to access it through a macro. When I go to
tools/macro/macros it doesn't recognize the userform1 as a macro (I
guess because it isn't a macro?). So how do I create something in Word
to pop up the userform1 for use?

thanks

Matthew
(e-mail address removed)
 
T

Tushar Mehta

Write a sub that contains a statement such as userform1.show.
Hopefully, you know how to access the contents of the various controls
in the userform. ;-)

--
Regards,

Tushar Mehta, MS MVP -- Excel
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
 

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