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. Class Module Toolbar button
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. Module Toolbar button
Procedure Inserts a new Sub, Function, or Property procedure into the active module. Not available if the module is not active. Procedure Toolbar button
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.