Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace in word header
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 7
Divers
Thread ID:
01085969
Message ID:
01085976
Vues:
33
You're a star - many thanks

>- run Word
>- ALT+F11
>- click to button "Object browser" (F2)
>- select Word Library in first combo
>- select object Find in listbox (left)
>- select method execute in listbox (right)
>
>MartinJ
>
>>Many thanks Martin that worked a charm.
>>Do you know of a good place for me to check for the exact syntax of the Execute command (ie exactly what those parameters relate to).
>>Thanks
>>Caroline
>>
>>>Hi Caroline,
>>>
>>>
>>>
>>>=loFile.Sections(1).Headers(1).Range.Find.Execute("searched text",.F.,.F.,.F.,.F.,.F.,.T.,1,.F.,"replaced text",2)
>>>
>>>
>>>MartinJ
>>>
>>>>Hi,
>>>>Can anyone give me a simple example of how I do a Find and Replace in word that will act on the Header of the document. I am using VF7 and Word2000.
>>>>
>>>>Many thanks
Caroline
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform