OLE Automation object
Publicado: Mar Jul 24, 2018 10:55 am
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
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