Save <host document> Command (File Menu)

This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.

Saves the current project and all of its components – forms and modules – with your document. A standalone project is saved separately as a project file with a .vba extension.

The Save command displays the Save As dialog box if this is the first time the project is being saved.

Toolbar shortcut: Gg278520.tbr_save_ZA01201736(en-us,office.14).gif. Keyboard shortcut: CTRL+S.