Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does Excel have a user form collection

Status
Not open for further replies.

spence27

Technical User
Feb 2, 2002
28
GB
Does Excel have a user form collection, and if so how would i loop through each user form

Excel 2002
VBA
XP SP2
 
Code:
Dim oForm As UserForm

   For Each oForm In UserForms
     Debug.Print oForm.Caption
   Next oForm

According to the Excel VBA Help, the Userforms collection holds only those Userforms that are loaded.


Regards,
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top