Page 1 of 1

OLE Automation object

Posted: Tue Jul 24, 2018 10:55 am
by Ingo Junge-Herrmann
Hi,
I'm using Word.Application as an OleObject.
I don't know how to convert the Word-VBA-Method like "Selection.Find.Execute Replace:=1" to Xailer-Code.
Any idea how to commit "Replace:=1" with the method "Execute"?

here the example:

oWord := CreateObject( "Word.Application" )

WITH OBJECT oWord:Selection:Find
….
….
:Execute ?? <== here is Replace:=1 //wdReplaceAll := 1
END WITH

Regards
Ingo