In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

OLE Automation object

Xailer English public forum
Ingo Junge-Herrmann
Posts: 336
Joined: Mon Jul 02, 2007 7:17 pm

OLE Automation object

Postby Ingo Junge-Herrmann » Tue 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

Return to “English”