Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace in word header
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 7
Miscellaneous
Thread ID:
01085969
Message ID:
01085975
Views:
29
This message has been marked as a message which has helped to the initial question of the thread.
- 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
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform