Connects to an existing PowerPoint instance or creates a new one.
#Include <PowerPoint.au3>
_PPT_Open([$bVisible = True])
Parameters
$bVisible | [optional] True specifies that the application will be visible (default = True). |
Return Value
Success: the PowerPoint application object.
Remarks
None.
Related
_PPT_Close
Example
#AutoIt3Wrapper_AU3Check_Parameters= -d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
#AutoIt3Wrapper_AU3Check_Stop_OnWarning=N
#include <PowerPoint.au3>
#include <MsgBoxConstants.au3>
; ******************************************************************************
; Create application object or connect to an already running PowerPoint instance
; ******************************************************************************
Global $oPPT = _PPT_Open()
If @error Then Exit MsgBox($MB_ICONERROR, "PowerPoint UDF: _PPT_Open", "Error creating the PowerPoint application object." & @CRLF & "@error = " & @error & ", @extended = " & @extended)
MsgBox($MB_ICONINFORMATION, "PowerPoint UDF: _PPT_Open Example 1", "PowerPoint Application has been opened successfully.")