Does this help:
http://support.microsoft.com/kb/269565And 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"