Programming with Reflection

image\rwnprg32.gif AllowMacroInterrupt property

 

Syntax

object.AllowMacroInterrupt
object.AllowMacroInterrupt = Value

Works with

image\r124.gif

Data type

Boolean

 

Description

Returns (first syntax line) or specifies (second syntax line) whether the macro execution can be interrupted. Setting this property to False prevents users from interrupting macros (that is, it disables the Stop Macro command on the Macro menu, as well as the Quit and StopMacro methods).

For example, the following statement disables the Stop Macro command:

Session.AllowMacroInterrupt = False

Values

The default value is True.

The value of this property is not saved to a settings file.

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command