Other topics about Operation Basics
Once you have saved a project or module file, you can load it later whenever necessary.
You can load a saved project file either from the E5071C measurement screen or by specifying that the project file be automatically loaded when the power is turned on.
Press Macro Setup key, then click Load Project.
When the another project has already been loaded on the Visual Basic Editor, the message whether or not the current project is saved may appear. If you want to save the project, click Yes button to display a dialog box for saving. For saving the project, see Saving a Project.
The Open dialog box appears. Specify the file name and location (drive or folder) of the file you want to load and click Open.
Open dialog box
The Open dialog box has the following user interface elements:
Look in: Specify the location (drive or folder) where the project resides.
File name: Specify the file name of the project you want to load.
Files of type: Select the type of the file you want load. Normally, you should select VBA Project Files [*.vba].
Open: Clicking this button loads the project.
Cancel: Clicking this button closes the Open dialog box and brings you back to the main screen.
Once you have saved a project file that satisfies the following conditions, the project will be automatically loaded whenever the power is turned ON.
Auto-loaded project |
Conditions |
Directory where the project resides. |
A:\ or D:\ |
Project file name |
If there is the file named "autoload.vba" in both the A drive and the D drive, the file in the A drive is used.
To load a saved module into a project, you must use Visual Basic Editor.
In Project Explorer, click the file name that appears under the desired module icon to highlight it.
Open the Import File dialog box by doing one of the following:
On the File menu, click Import File....
In Project Explorer, right-click the "VBAProject" icon, and click Import File....
Press Ctrl + M keys on the keyboard.
The Import File dialog box appears. Specify the file name and location (drive or folder) of the file (module) you want to load and click Open.
The Import File dialog box has the following user interface elements:
Import File dialog box
The Import File dialog box has the following user interface elements:
Look in: Specify the location (drive or folder) where the module resides.
File name: Specify the file name of the module you want to load.
Files of type: Select the type of the file you want load. Normally, you should select VB Files [*.frm,*.bas,*.cls].
Open: Clicking this button loads the module.
Cancel: Clicking this button closes the Import File dialog box and brings you back to the main screen.
Help: Clicking this button brings up VBA Online Help.