Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add page n of n to header
Message
De
23/12/2008 13:30:10
 
 
À
18/12/2008 15:18:11
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01368655
Message ID:
01369443
Vues:
8
Does this help:

http://support.microsoft.com/kb/269565

And Tamar's stuff is just nice to have:

http://www.tomorrowssolutionsllc.com/Materials/AutomationStartup.html


>Hi,
>I'm unable to add this simple thing to a header in Word 2002 sp3. I can insert the page number with .fields.add(). I can insert text. But I can't do both. Adding a field erases anything already there! I can Fields.Add() the page field, then InsertAfter() the ' of ' text, but when adding the number of pages field, everything else is wiped out. Range.Collapse(0), end = end + 1, etc. doesn't help.
>
>Anyone know how to just insert some version of 'Page ' + PageField + ' of ' + PageNumField into a header?
>
>Thanks,
>Gary
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform