Specifications

Chapter 13 221
Use of Macros
Making/Editing Macros
13. Use of Macro
Project and module
In the project explorer, the macro currently used is displayed. Here, the elements of project
and module are briefly described.
Figure 13-6 Example display screen of project explorer
Project
The element that gathers and manages a micro’s module group is called a project. With the
E4991A, it is impossible to distinguish and use multiple projects within the project
explorer. Therefore, it is necessary to either load a new project into the macro under
construction or to insert an existing project into a saved macro. For how to load a macro,
please refer to
“Loading macros” on page 233.
Module
You can make a macro by describing code in a module. In the E4991A, the following three
types of modules can be used. Each type has its own characteristics as shown below.
Standard module
Standard module has nothing to do with the user form and is a program composed of
less than one procedure (this program is composed of “Sub” to “End Sub”). The
extension “*.bas” is attached to a standard module.
Step 1. Standard module is added to a project by the following menu command.
Insert - Module