XL97: Using the New Keyword to Create Instances of a UserForm (167180)
The information in this article applies to:
- Microsoft Excel 97 for Windows
This article was previously published under Q167180 SUMMARY
In Microsoft Excel 97, you can use the New keyword to create multiple
instances of a particular class. This article includes sample Visual Basic
for Applications code that uses the New keyword to create multiple
instances of a UserForm. The new instances of the UserForm are copies of
the original UserForm and can be controlled independently of the original
UserForm.
REFERENCES
For more information about using the New keyword, click the Office
Assistant in the Visual Basic Editor, type dim, click Search, and then click to view the "Dim Statement" topic.
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If Microsoft Excel Help is not installed on your
computer, please see the following article in the Microsoft Knowledge Base:
120802 Office: How to Add/Remove a Single Office Program or Component
Modification Type: | Major | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbhowto kbinfo kbProgramming KB167180 |
---|
|