Insert menu
Note
Some menu items are not available in all versions of the Visual Basic Editor.
Command | Description | Toolbar button |
---|---|---|
Class Module | Creates a new class module and adds it to your active project. | |
Components | Displays the Components dialog box from which you can add designers to the Insert menu. | |
File | Displays the Insert File dialog box so that you can insert text from an existing module at the current cursor position. Not available when no editor is open. | |
Module | Inserts a new standard module and adds it to your active project. | |
Procedure | Inserts a new Sub, Function, or Property procedure into the active module. Not available if the module is not active. | |
UserForm | Creates a new form and adds it to your project. |
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for