VB set Excel color

前端之家收集整理的这篇文章主要介绍了VB set Excel color前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Sub Macro3()
'
' Macro3 Macro
'

'
Range("E4").Select
With Selection.Font
.Name = "simsun"
.FontStyle = "标准"
.Size = 11
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
.ColorIndex = 26
End With

Cells.Font.Color = vbRed
Cells.Font.Color = vbBlack
Cells.Font.Color = vbBlueEnd Sub

原文链接:https://www.f2er.com/vb/261703.html

猜你在找的VB相关文章