Specifications

530 Chapter 18
COM Interface Reference
Application object
Application object
This section explains Application object.
Name property
Explanation Reads application name (Read only).
VB syntax Application.Name
or
Name
Response Reading in string type. Always “E4991A”.
Examples The following is a program example of reading the application name and displaying it in
the message box.
Example 18-1 Example of using Name property
Dim Name As String
Name = Application.Name
MsgBox "Application Name : " & Name
VBAVersion property
Explanation Reads the version of the E4991AVBA. (Read only)
VB syntax Application.VBAVersion
or
VBAVersion
Response Reading in string type.
Examples The following is a program example of reading the version of the E4991A VBA and
displaying it in the message box.
Example 18-2 Example of using VBAVersion property
Dim Version As String
Version = Application.VBAVersion
MsgBox "VBA Version : " & Version