Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Excel 中使用 VBA 作为单元格边框(不是图表):
无法将Borders.Linestyle属性设置为圆点线型(见附图)。使用.Linestyle = xlDot较大的方形破折号而不是较小的圆点。
Borders.Linestyle
.Linestyle = xlDot
我也尝试过将权重设置为,xlThin但这似乎没有什么不同。
xlThin
尝试
.LineStyle = xlContinuous .Weight = xlHairline