Other topics about Operation Basics
This section describes how to launch Visual Basic Editor.
From the E5071C measurement screen, launch Visual Basic Editor using one of the following methods:
Macro Setup > VBA Editor
Press Alt + F11 keys on the keyboard.
When you launch Visual Basic Editor, it displays the initial screen, which contains a number of windows as shown in the following figure. The initial screen provides the following GUI elements:
Example of Visual Basic Editor initial screen
Clicking one of the menu labels brings up the corresponding menu. The menu bar can be used as the primary method to navigate through E5071C's VBA environment.
The toolbar provides access to commonly used commands via icon buttons; these commands are a subset of the commands accessible from the menu bar.
Within the E5071C's VBA environment, you can develop your application as a project that consists of a number of files (modules). Project Explorer shows a list of all files (modules) that make up a project. The list also includes files (modules) created or loaded in Visual Basic Editor. For information on modules, refer to A Project and Three Types of Module.
To display the project explorer, do one of the following:
On the View menu, click Project Explorer.
Press Ctrl + R keys on the keyboard.
On the toolbar, click .
A property window shows the settings (label, font, color, size, etc.) of a control (such as a command button or text box) placed on the user form. For information on user forms, refer to User Form.
You can also set properties by programming in the code window.
To display the properties window, do one of the following:
On the View menu, click Properties Window.
Press F4 key on the keyboard.
On the toolbar, click .