Function Reference

_PPT_SlideFindReplace

Find & Replace text/values in the specified slides/shapes.

#Include <PowerPoint.au3>
_PPT_SlideFindReplace($oPresentation, $vSlide, $vShape, $sFindText, $sReplaceWith[, $bMatchCase = Default[, $bMatchWholeWord = Default]])

 

Parameters

$oPresentation Presentation object.
$vSlide xx
$vShape xx
$sFindText xx
$sReplaceWith xx
$bMatchCase [optional] xx
$bMatchWholeWord [optional] xx

 

Return Value

Success: 1.
Failure: 0 and sets @error.
    1 - $oPresentation is not an object or not a presentation object
    2 - $vStartingSlide is a number and < 1 or > current number of slides
    3 - $vEndingSlide is a number and < 1 or > current number of slides
    4 - Error occurred when running the slide show. @extended is set to the COM error code returned by the Run method

 

Remarks

None.

 

Related

 

See Also

https://www.thespreadsheetguru.com/the-code-vault/find-and-replace-all-powerpoint-vba-macro