WD97: Paragraph.Border.Linestyle Incorrect After Applying ShadowLast reviewed: February 11, 1998Article ID: Q164009 |
The information in this article applies to:
SYMPTOMSWhen you apply both 3-D borders and shadowing to a paragraph, then use the LineStyle Property to return the type of borders applied for top, bottom, left, and right sides of the border for that paragraph, the returned values for bottom and right borders are wdLineStyleEngrave3D (or 22). The expected returned values would be wdLineStyleEmboss3D (or 21).
CAUSEThe following example Visual Basic for Applications macro demonstrates this problem. The macro first applies 3-D borders to a paragraph and then applies a paragraph shadow. A loop is set to return the values of the type of border applied to each side of the paragraph.
Sub ParaShadowBorder() Set oBorders = ActiveDocument.Paragraphs(1).Borders oBorders.OutsideLineStyle = wdLineStyleEmboss3D oBorders.Shadow = True For Each Border In oBorders MsgBox Border.LineStyle Next Border End Sub STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words: 97 vb vbe vba word8 word97 8.0 8.0
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |