WD2000: Paragraph.Borders.Count Returns Five on a Selected Paragraph (248010)



The information in this article applies to:

  • Microsoft Word 2000

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


Modification Type:MinorLast Reviewed:10/11/2006
Keywords:kbcode kbmacro kbpending kbprb kbProgramming KB248010