"BorderLineStyle 0" Does Not Remove BorderLast reviewed: August 4, 1997Article ID: Q113978 |
6.00 6.00a
WINDOWS
kbusage kbmacro
The information in this article applies to:
SYMPTOMSIn a macro that contains the BorderLineStyle command, setting the width parameter to 0 (None) results in a border width of 3/4 points.
STATUSMicrosoft has confirmed this to be a problem in Microsoft Word versions 6.0 and 6.0a for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
WORKAROUNDTo remove a border using a macro, use a 0 parameter with the Border command. For example, the following lines in a macro remove respective borders from the paragraph they are applied to:
BorderOutside 0 BorderTop 0 BorderLeft 0 MORE INFORMATIONIf you manually set a border line style to None, and then apply the border to a paragraph that already has a border of any width, any previously applied border will be removed. If the border line width is set to None in a macro using the "BorderLineStyle 0" command, the result does not remove the existing border but replaces the existing border with a 3/4 pt. border.
REFERENCES"Microsoft Word Developer's Kit," page 276-277 Kbcategory: kbusage kbmacro KBSubcategory: |
Additional reference words: 6.00 6.00a macro macros winword word6
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |