RunObject Method

Starts or stops the Timer and/or Event from running.

Syntax

object.RunObject vObjectNames, bRunStatus

Properties

The RunObject method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

ObjectNames

Variant. The object(s) for which you want to reset statistics.
 

Valid entries:
0 - All Objects
1 - All Timer Objects
2 - All Event Objects
A string containing the name of the object to reset.
A list of objects to reset.

bRunStatus

Boolean. If True, the event is running. If False, the event is stopped.

Remarks

To stop an event that is running, pass in False for bRunStatus.

 

Example

Applies To