PDA

View Full Version : lock bookmarks in place? (located in header)



adme22
05-08-2012, 07:43 AM
Hi,

I have 3 bookmarks in my header, spaced evenly on 1 line. When text is inserted into the first bookmark it pushes the other bookmarks down to the next line and the formatting becomes a mess. Is there any way to set a fixed length for the text that a bookmark contains? Im envisioning something like an excel cell where if the text is too long, the extra info isnt shown and the 2nd cells data begins at the beginning of the 2nd cell (or bookmark in this case).

I'm open to both doing this via code or just in word as its a template file (.dotm) that's being modified by a macro.

Thanks in advance for your help.

adme22
05-08-2012, 10:38 AM
never mind... i solved this problem.

i just limited the number of characters in the string using Len() and left(). Not ideal but it gets the job done.

macropod
05-08-2012, 04:58 PM
You could use a 3-column*1-row table, with fixed-width columns and each bookmark in its own cell.