Dim myRange As Range
Dim myFont As Font
Set myRange = Range("A1") '指定任意的单元格区域
Set myFont = myRange.Font
Cells.Clear '清除工作表数据
myRange.Value = "ExcelVBA实用技巧大全"
With myFont
.Name = "华文新魏"
.Size = 15
.Bold = True
.Italic = True
.ColorIndex = 3
End With
Set myFont = Nothing
Set myRange = Nothing
End Sub
66


&spm=1001.2101.3001.11974&articleId=82412599&d=1&t=3&u=18a7bff08fca4e16a53d2a98ce02b064)

被折叠的 条评论
为什么被折叠?



