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

ID: Q248010


The information in this article applies to:
  • Microsoft Word 2000


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:

Q212623 WD2000: Macro Programming Resources
Q226118 OFF2000: Programming Resources for Visual Basic for Applications

Additional query words: vb vba vbe

Keywords : kbcode kbmacro kbprg kbdta kbwordvba wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: December 15, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.