Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make Word macro legible to VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00889060
Message ID:
00889071
Vues:
18
This message has been marked as the solution to the initial question of the thread.
I am not sure what is your selection, but if the problem is the Execute only, you can try this:
#DEFINE wdFindContinue 1
#DEFINE wdReplaceAll 2
thisform.oWord=CreateObject("Word.Application")
* I added this two next lines, for I think they are missing?
loDocument=thisform.oWord.Open("test.doc")
loDocument.Select

thisform.oWord.Selection.Find.Execute("**", .T., .T., .F., .F., .F., .T., 1, , "^p", wdReplaceAll)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform