Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Word
Message
From
26/09/2000 11:19:50
 
 
To
26/09/2000 06:55:49
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00420479
Message ID:
00420962
Views:
22
>Hi Mark,
>
>You can, if you want, change just one word in the footer. (Acutally, change all occurences of a text string with another text string)
>
>oWord.Selection.Sections(1).Footers(wdHeaderFooterPrimary).Range.Text will give you the current text. If you want to change a word you could check out the STRTRAN() function.
>
>HTH
>
>Liam
>
>
>
>
>>>Hi Mark,
>>>
>>>I don't believe so but you can set the footer programmatically :
>>>
>>>oWord.Selection.Sections(1).Footers(wdHeaderFooterPrimary).Range.Text = lcFooterText
>>>
>>>Liam
>>>
>>>
>>>
>>>>If my text is in a footer will global replace work?
>>>>Thanks Mark
>>
>>But this will change the whole footer. But I have to change one word only. Isn't it?
>>Thanks a lot for help. Please give me more ideas.
>>Mark
Thanks for help. Will try.
Mark
Previous
Reply
Map
View

Click here to load this message in the networking platform