Field formatting incompatibility from 2000 to 2007

L

LurfysMa

We just "upgraded" from Office 2000 to Office 2007. I regret it many
times every day.

We have dozens of templates. Most of them have a small (Ariel 6pt)
line of text in the footer showing the filename and the last saved
date. One such footer line looks like this with field codes revealed
(Shift+F9):

{FILENAME \* MERGEFORMAT}, saved on {SAVEDATE \*MERGEFORMAT}

We have been using these templates for years in Word 2000. No
problems. I think they also worked OK with 2007 in 2000 compatiblity
mode (.doc), but I am not sure, as we have most of them converted.

As new docx files, the small information line is suddenly showing up
with some parts of it in different fonts and sizes. Most of the time,
the AM/PM or the seconds in the time stamp is in Times New Roman 12,
while the rest is in Ariel 6:

Temp.docx, saved on 10/10/07 11:15AM (or 11:15:00)

With the AM or 00 in a different font.

If I select the line and press Shift+F9, the field codes (the stuff in
the braces), is in the larger font.

If I select the entire line and set it to Ariel 6, then it all prints
in Ariel 6. But if I select just the AM or 00 and change that it pops
back.

I thought the \Mergeformat parameter told it to assume the target
formatting, no?

Also, how come only the AM or the 00 is larger and not the entire
field?

I have a solution, now, but I am curious as to what is happening.
 
D

Doug Robbins - Word MVP

Replace MERGEFORMAT with CHARFORMAT and apply the desired formatting to the
first character of the field. For example the F of FILENAME.

Do this in the template and it will then carried over to all documents that
are subsequently created from the template.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top