请教高人如何使用 Excel VBA设置数据线的宽度
Excel VBA 如何设置数据线的宽度?
我使用 ActiveChart.SeriesCollection(1).Border.Weight, 但只能使用 xlBorderType。
请问如何设置数据线为任意宽度,如1.5磅?
不甚感激!
[解决办法]
你要的是不是趋势线的宽度?
- VB code
Dim sccSet scc = ActiveChart.SeriesCollection(1)scc.Format.Line.Weight = 2