
CHAPTER 2 - MACROS AND VISUAL BASIC
ZEISS
Macros
LSM 880
8
000000-2071-464
10/2014 V_01
2.2.3
Editing and Debugging of Macros
The
Edit
in the
Edit Macro
panel button activates IDE (Integrated Development Environment), which
allows macros to be edited and debugged. Under the
Help - Macrosoft Visual Basics Help
menu item,
IDE contains detailed "online" help on its operation and on the VBA macro language. Therefore, only a
few hints are provided in the following:
You should activate the required toolbars. We would recommend you to activate the
Debug
toolbar via
the
View - Toolbars - Debug
menu item.
The following buttons in the toolbar can help you when debugging macros:
Starts running the command lines.
Stops running the command lines.
Interrupts processing of the command lines (pause).
Sets a breakpoint in the line with the text cursor.
Processes a command line and steps into subprocedures.
Processes a command line and steps over subprocedures.
Exits the subprocedure (step out).
Displays the value of the marked expression (Watch). If nothing is marked, the value of the
variable above the text cursor is displayed.
Activates the Watch window in which values of variables and expressions can be displayed. For
this, text is marked in the code window and dragged into the Watch window. Variables can be
modified in the Watch window.
In the left-hand edge of the code window you will find an arrow beside the current command line. A
new current command line can be determined by moving the arrow via the mouse. This makes it possible
to skip command lines or to process command lines several times.
Summary of Contents for LSM 880
Page 1: ...LSM 880 LSM 880 NLO Operating Manual October 2014 ZEN 2 black edition...
Page 650: ......
Page 678: ......
Page 687: ......
Page 688: ......