傳回或設定
框線的
線條樣式。可讀寫 LongWord
語法
property LineStyle: LongWord;
說明
LineStyle 可為下列 XlLineStyle 常數之一
| xlContinuous |
| xlDash |
| xlDashDot |
| xlDashDotDot |
| xlDot |
| xlDouble |
| xlSlantDashDot |
| xlLineStyleNone |
範例
Workbook.Sheets[1].Range['A1', 'C5'].Borders.LineStyle := xlDot;