Share via


Trigger Method [Visio 2003 SDK Documentation]

As it applies to the Cell object.

Evaluates the formula of a cell.

object**.Trigger**

object    Required. An expression that returns a Cell object.

Version added

4.0

Remarks

Triggering a cell simply evaluates the formula of that cell. If the formula contains other actions such as running an add-on, those actions occur.

As it applies to the Event object.

Causes an event's action to be performed.

object**.Trigger**(ContextString)

object    Required. An expression that returns an Event object.

ContextString     The string to send to the target of the event.

Version added

4.0

Remarks

Triggering an event causes the action associated with the event to be performed. The specified context string is passed to the target of the action:

  • If the action is to run an add-on (visEvtCodeRunAddon), the string is passed in the command line string sent to the add-on.
  • If the action is to send a notification to the calling program (visEvtCodeAdvise), the string is passed in the moreInfo parameter of the notification.

Applies to | Cell object | Event object

See Also | Action property | AddAdvise method | Event property