Timer Object

ACP Timer Object

Remarks

This object provides automation clients with a regular source of events. Automation clients may create an instance of ACP.Timer and set up to receive its events. In Visual Basic and VBA (the macro language of Excel and the other Office apps), use the WithEvents qualifier when declaring variables of type Timer. In scripts running under the Windows Scripting Host, use WScript.CreateObject and create a xxx_Tick() event handler, where xxx is the event prefix argument you gave to Wscript.CreateObject().