返回或設(shè)置邊框的線型。XlLineStyle 類型,可讀寫。
XlLineStyle 可為以下 XlLineStyle 常量之一。 |
xlContinuous |
xlDash |
xlDashDot xlDashDotDot xlDot xlDouble xlSlantDashDot xlLineStyleNone |
expression LineStyle
expression 必需。該表達(dá)式返回“應(yīng)用于”列表中的對象之一。
本示例為圖表區(qū)域和繪圖區(qū)設(shè)置邊框。
With myChart
.ChartArea.Border.LineStyle = xlDashDot
With .PlotArea.Border
.LineStyle = xlDashDotDot
.Weight = xlThick
End With
End With