Microsoft KB Archive/117341

{|
 * width="100%"|

Font Changes Made by Macro Not Retained in Header or Footer

 * }

Q117341

-

The information in this article applies to:


 * Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
 * Microsoft Word for Windows, version 7.0

-

SYMPTOMS
If you run a macro that uses the FormatFont WordBasic statement to apply font formatting in the header or footer of your document, Word for Windows does not save the font formatting changes.

By contrast, Word DOES save font formatting changes you apply using a macro that contains the Font statement.

STATUS
We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

WORKAROUND
If you plan to use your macro to format text in the header or footer of your documents, use the specific WordBasic commands such as Font, FontSize, Style, Bold, and so forth, to apply font formatting. Do not use the FormatFont statement.

Additional query words: winword2 2.00a 2.00a-CD 2.00b 2.00c word6 6.00a 6.00c gone lost loses losing keeps retain retained reverts back winword

Keywords : kbFont

Issue type :

Technology :