Workbook Contains User Form Or Class. If you make a new class module and call it Class1 and add a public procedure to it. To get the UserForm workbook that was used in this example go to the UserForm with ComboBoxes page on my Contextures site.
UserForm1 is an instance of the UserForm class. ThisWorkbook Module Each workbook contains one ThisWorkbook object at the bottom of the Microsoft Excel Objects folder. Right-click on the UserForm in the properties windowsor the UserForm itself and select View Code You will see a sub called UserForm_Click.
The Workbooks collection contains all the Workbook objects currently open in Microsoft Excel.
You can delete this when you create your first sub. And Class Modules folder if it contains Classes. To get the UserForm workbook that was used in this example go to the UserForm with ComboBoxes page on my Contextures site. The Workbook class denotes an Excel spreadsheet.