Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS Word
Message
De
26/09/2000 06:55:49
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
 
 
À
25/09/2000 13:21:36
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00420479
Message ID:
00420808
Vues:
20
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
Liam O'Hagan
MCP VFP Desktop Apps
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform