Microsoft KB Archive/279874

From BetaArchive Wiki

Article ID: 279874

Article Last Modified on 6/17/2005



APPLIES TO

  • Microsoft Word 2000 Standard Edition



This article was previously published under Q279874

SYMPTOMS

When you open a Word document that was saved as Rich Text Format (*.rtf) and that contains a Word table formatted with an outside border that is different from the inside border, the top or bottom border of the respective table rows is missing when the table breaks across a page break.

For example, if you open a Rich Text Format document that contains a table formatted with a double-line outside border and a single-line inside border, the top and bottom borders of the table row that breaks across a page break are missing.

NOTE: A similar problem, in which a table formatted only with a decorative outside border and no inside (grid line) borders, was fixed in Microsoft Office 2000 Service Pack 2.

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

263911 WD2000: Table Borders Are Dropped When You Open Document Saved as .rtf


WORKAROUND

To work around this problem, use one of the following methods.

Method 1: Save as a Word Document

To prevent this problem, reapply the borders to your table, and then save the file as a Word document. To do this, follow these steps:

  1. Click into your Word table.
  2. On the Table menu, point to Select, and then click Table.
  3. On the Table menu, click Table Properties.
  4. On the Table tab, click Borders and Shading.
  5. On the Borders tab, click to select the settings that you want. Change the Apply to box to Table, and then click OK.
  6. On the File menu, click Save As.
  7. In the Save As dialog box, change the Save as type box to Word Document (*.doc), and then click Save.

Method 2: Reapply the Table Borders

After you open your Rich Text Format document, reapply the borders to your Word table. To do this, follow these steps:

  1. Click into your Word table.
  2. On the Table menu, point to Select, and then click Table.
  3. On the Table menu, click Table Properties.
  4. On the Table tab, click Borders and Shading.
  5. On the Borders tab, click to select the settings that you want. Change the Apply to box to Table, and then click OK.

IMPORTANT NOTE: If you save the file again as Rich Text Format (*.rtf) and then open the file again, the table borders will again exhibit the problem described in the "Symptoms" section of this article.

Method 3: Use a Macro to Reapply Table Border Formatting

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
For more information about how to use the sample code in this article, click the article number below to view the article in the Microsoft Knowledge Base:

212536 OFF2000: How to Run Sample Code from Knowledge Base Articles


The following macro example reapplies the selected border style to your Word table.

Sub SetBorderAgain()

Dim mytable As Table

   For Each mytable In ActiveDocument.Tables
      With mytable.Borders(wdBorderBottom)
         .LineStyle = .LineStyle
         .LineWidth = .LineWidth
         .Color = .Color
      End With
   Next

End Sub
                

IMPORTANT NOTE: If you save the file again as Rich Text Format (*.rtf) and open the file again, the table borders will again exhibit the problem described in the "Symptoms" section of this article.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug kbnofix kbqfe KB279874