This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.
Inserts a new Sub, Function, or Property procedure into the active module.
Not available if the module is not active.
Toolbar shortcut: .