Run Method
The document is archived and information here might be outdated

_Application.Run Method

Office 2010

Runs a Visual Basic procedure.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Object Run(
	string MacroName,
	ref params Object[] safeArrayOfParams


Type: System.String
The name of the procedure to be run. The string can contain the following: a loaded presentation or add-in file name followed by an exclamation point (!), a valid module name followed by a period (.), and the procedure name. For example, the following is a valid MacroName value: "MyPres.ppt!Module1.Test".
Type: []
The argument to be passed to the procedure. You cannot specify an object for this argument, and you cannot use named arguments with this method. Arguments must be passed by position.

Return Value

Type: System.Object
© 2016 Microsoft