Microsoft KB Archive/248010

From BetaArchive Wiki
Knowledge Base


WD2000: Paragraph.Borders.Count Returns Five on a Selected Paragraph

Article ID: 248010

Article Last Modified on 10/11/2006



APPLIES TO

  • Microsoft Word 2000 Standard Edition



This article was previously published under Q248010


SYMPTOMS

When you use the Visual Basic for Applications Paragraph.Borders.Count command on a selected paragraph, the value returned is five instead of an expected value of four.

CAUSE

By design, Paragraph.Borders.Count returns five, because paragraph borders have an inside horizontal border that you can set and/or retrieve, although it may not visible. If you insert another paragraph, the inside border may or may not become visible, depending on your setting.

REFERENCES

For additional information about getting help with Visual Basic for Applications, click the article number below to view the article in the Microsoft Knowledge Base:

212623 WD2000: Macro Programming Resources


226118 OFF2000: Programming Resources for Visual Basic for Applications



Additional query words: vb vba vbe

Keywords: kbcode kbmacro kbpending kbprb kbprogramming KB248010