Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
URGENT - Automation of Word Document.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
URGENT - Automation of Word Document.
Divers
Thread ID:
00161810
Message ID:
00161810
Vues:
46
Hi, I need help.

I only need to open a Word document and search & replace one string.

I'm trying, but don't work.

My code is the follow:

loWord = CreateObject( "word.basic" )
loWord.FileOpen( "C:\MyDocs\Doc1.doc" )
loWord.EditFind.Execute( "##SearchText##", .t., .t., , .t., 1, , "Replace String", 1 )

At this point, I receive an error code from OLE Server.

Any suggestion ???

Thanks In advance!!!!!!
Lic. Esteban Bruno
Gerente de Sistemas
TASSO S.R.L.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform