请教: wps vba 如何设置图表折线的粗细

fzx4936 fzx4936 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
多次尝试都失败了,请各位大侠出手,谢谢了!

'wps 表格 版本9.1.0.4940


Dim oSeries As Series
With ActiveChart
Set oSeries = .SeriesCollection.NewSeries
oSeries.Name = "sbp"
oSeries.ChartType = xlLine
oSeries.Format.Line.ForeColor.ObjectThemeColor = vbRed
oSeries.Format.Line.Weight = xlThick'不起作用

.SeriesCollection(1).Name = "sbp"
.SeriesCollection(1).Smooth = cbSmooth.Value
.SeriesCollection(1).Format.Line.Visible = True
.SeriesCollection(1).Format.Line.Weight = xlThick'不起作用
.SeriesCollection(1).Format.Line.ForeColor.ObjectThemeColor = 255

.SeriesCollection(1).Border.Color = vbRed
.SeriesCollection(1).Border.Weight = xlThick'不起作用
.SeriesCollection(1).Border.LineStyle = xlContinuous

End With






...全文

相关推荐

评论 5
收藏 已收藏
分享
返回顶部
fzx4936
VBA 2,506 成员 10,830 内容