Microsoft KB Archive/106336

{|
 * width="100%"|

WD: Text Copied from Macro Window Loses Style Formatting

 * }

Q106336

-

The information in this article applies to:


 * Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
 * Microsoft Word for the Macintosh, versions 6.0, 6.0.1
 * Microsoft Word for Windows NT, version 6.0
 * Microsoft Word for Windows, versions 7.0, 7.0a

-

SYMPTOMS
The Word macro editing pane uses the formatting defined for the Macro Text style. However, if you copy text from the macro window into a document window, the formatting is not retained. Word does not apply the Macro Text style to the macro text in the document window.

WORKAROUND
To retain formatting, apply the Macro Text style to the macro text after pasting the text into a document window. To apply the Macro Text style, follow these steps:


 * 1) Select the macro text in the document window.
 * 2) On the Format menu, click Style.
 * 3) In the List box, click All Styles.
 * 4) In the Styles box, click Macro Text, and then click Apply.

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

Additional query words: macrotext style macro text wordbasic

Keywords : kbmacro kbdtacode wordnt winword ntword macword word6 word7 word95 kbformat

Issue type : kbprb

Technology :