WD98: Acceptable Values of wdLineWidth Constant (in wdLineStyle) (181844)
The information in this article applies to:
- Microsoft Word 98 Macintosh Edition
This article was previously published under Q181844 SUMMARY
When you apply borders using Microsoft Visual Basic for Applications
commands, you can specify the line style and the line width of the border
to be applied. Each border line style has a different number of varying
line widths that can be applied to a border. That is, all line widths are
not available to use with every line style.
Also, the list of wdLineWidth constants are available for use in a macro
regardless of the line style being applied. There is no programmatic method
available for determining whether a particular line width is a valid width
to use with a chosen border line style. If you apply an invalid line width
to a line style, the macro will return an error when you run it (it will
not return an error when it's compiled).
This article contains the list of wdLineStyle constants and the
wdLineWidths that can be used with the line style.
REFERENCES
For more information about LineWidths, click the Office Assistant while in
the Visual Basic Editor, type LineWidth, click Search, and then click to
view "LineWidth Property."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If Microsoft Help is not installed on your computer,
please see the following article in the Microsoft Knowledge Base:
179216 OFF98: How to Use the Microsoft Office Installer Program
For more information about getting help with Visual Basic for Applications,
please see the following article in the Microsoft Knowledge Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Major | Last Reviewed: | 10/4/2002 |
---|
Keywords: | kbdtacode kbinfo kbmacroexample KB181844 |
---|
|