View Single Post
  #4   Report Post  
Posted to microsoft.public.word.newusers
John... Visio MVP John... Visio MVP is offline
external usenet poster
 
Posts: 33
Default Looking for a suggestion on how to handle a header

I had thought of that, but this will happen several times in the document.
So even if I create a Document Property for each pair, I still need to find
someway of referencing each one in the header.

John... Visio MVP

"macropod" wrote in message
...
Hi John,

You could put the massaged info into a custom Document Property, and use a
DOCPROPERTY field in the header to link to it.

--
Cheers
macropod
[Microsoft MVP - Word]


"John... Visio MVP" wrote in message
...
Does anyone have a suggestion for including two pieces of information in
a header AFTER massaging? I can get the information in the header using
StyleRef, but I would like to truncate the combined string if it is
longer than a certain length and add "..." to the end.


I have an update macro that builds tables, so I can easily add extra code
to the routine to do the combining and massaging of the information, I
just need an idea of where the massaged information can be placed so it
can be picked up by the header.

John... Visio MVP