With Sheets(1).Range(Cells(row + 1, 1), Cells(row + 1, "V"))
.Interior.ColorIndex = 48
' .Borders (xlInsideHorizontal)
.LineStyle = xlSlantDashDot
.Weight = xlThin
.ColorIndex = 15
.Font.Name = "Times New Roman"
.Font.Size = 25
End With .LineStyle = xlSlantDashDot这是显示错误的行。
是关于微软公司的版本吗?
我正在使用MS军官2010版。
或者这个房产太旧了,我不能使用xlSlantDashDot。
还有其他的excel细胞厚线暗示吗?
错误是
XL2002:错误消息:运行时错误1004:无法设置边框类的LineStyle属性
发布于 2016-08-19 08:07:22
如果要设置范围的边框,则需要修改行:
.LineStyle = xlSlantDashDot至:
.Borders.LineStyle = xlSlantDashDothttps://stackoverflow.com/questions/39033906
复制相似问题