See Also
In Visual Basic, you can save entire projects
To save a new or existing project
1. From the File menu, choose Save Project, or use the toolbar shortcut:
If you have not previously saved the project, Visual Basic displays a dialog box in which you name and save the project.
2. In the File Name text box, type a project name.
Unless you type a different file-name extension, Visual Basic automatically adds the extension .MAK.
3. Choose OK.
If you have unsaved forms or modules in the project, Visual Basic prompts you to save them as well.
To save a new form or module
1. Click the Form window for the form you want to save
or
Click the Code window for the module you want to save
or
Select the form or module you want to save in the Project window .
2. From the File menu, choose Save File As (Ctrl+A).
3. In the File Name text box, type a name for the form or module.
Unless you type a different file-name extension, Visual Basic automatically adds the extension .FRM for forms and .BAS for modules.
4. Select Save As Text if you want the form or module saved as text.
5. Choose OK.
To save changes to an existing form or module
1. Click the form or module you want to save.
or
Select the form or module you want to save in the Project window.
2. From the File menu, choose Save File (Ctrl+S).
To save code as a text file
1. Click the module or form code you want to save.
2. From the File menu, choose Save Text.
3. In the File Name text box, type a name for the module.
Unless you type a different file-name extension, Visual Basic automatically adds the extension .TXT.
4. Choose OK.
Help:
Importing a Text File into Code
Learning Visual Basic:
Creating an Application
Programmer's Guide:
Chapter 2, "Your First Visual Basic Application"
Chapter 5, "Managing Projects"