Microsoft KB Archive/182012

= WD98: Borders.Count Returns Five on a Selected Paragraph =

Article ID: 182012

Article Last Modified on 10/4/2002

-

APPLIES TO


 * Microsoft Word 98 for Macintosh

-



This article was previously published under Q182012





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



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



MORE INFORMATION
For additional information, please see the following article in the Microsoft Knowledge Base:

173707 OFF97: How to Run Sample Code from Knowledge Base Articles

