Microsoft KB Archive/255143

From BetaArchive Wiki
Knowledge Base


Visio5: Background Color of Visio Object Embedded in a Microsoft Word 97 Document Changes After You Save the Document as an HTML File

Article ID: 255143

Article Last Modified on 11/25/2003



APPLIES TO

  • Visio 5.0 Standard
  • Visio 5.0 Professional
  • Visio 5.0 Technical
  • Visio 5.0 Enterprise



This article was previously published under Q255143

SYMPTOMS

When you embed Visio 5.0 shapes in a Microsoft Word 97 document and save the Word document as an HTML file, a colored background appears behind the shapes. If any of the embedded shapes are two-dimensional and have no fill, these shapes appear filled with the color of the background.

[GRAPHIC: Picture of shapes with and without a colored background]
After embedding these shapes in a Word 97 document
and saving the document as an HTML file, a colored
background appears behind the shapes.


RESOLUTION

To prevent Word from changing the background color of embedded Visio 5.0 shapes, manually place a background rectangle behind the shapes before you embed them in the Word document.

To draw a background rectangle manually:

  1. In Visio 5.0, open the file that contains the shapes that you want to include in the Word 97 HTML file.
  2. Click the Rectangle tool on the Standard toolbar, and then draw a rectangle around the shapes that you want to embed in the Word document.


The rectangle appears on top of the shapes.

  1. With the rectangle selected:
    1. Send the rectangle behind the shapes by pressing CTRL+B.
    2. Remove the outline of the rectangle by clicking Line on the Format menu, clicking None in the Pattern list, and then clicking OK.
    3. (Optional.) Specify a background color other than white by clicking Fill on the Format menu, selecting the patterns and colors that you want, and then clicking OK.
  2. Embed the shapes into the Word 97 document and save the document as an HTML file.


The color behind the Visio 5.0 shapes no longer changes.


Keywords: kbgraphxlinkcritical kbgraphxlink kbprb KB255143