|
-
Sep 16th, 2003, 11:52 AM
#1
Thread Starter
Member
Run the userforms collection and displaying the form names
Hello,
I would like to run trough the forms collection and show the name of each form in a messagebox
I do not seem to be able to show the code name of te form on the screen.
Example:
private sub button1_Click()
dim myform as Userform
For each myform in Userforms
msgbox myform.name & vbcrlf & myform.caption
next myform
End sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|