美文网首页
办公软件VBA学习(With)

办公软件VBA学习(With)

作者: 王滕辉 | 来源:发表于2021-11-16 08:44 被阅读0次
    Sub WithTest2()
        With ThisWorkbook.Worksheets(1).Range("A1")
            .Clear
            .Value = "Excel Home"
            With .Font
                .Name = "宋体"
                .Size = 16
                .Bold = True
                .ColorIndex = 3
            End With
        End With
    End Sub
    
    

    相关文章

      网友评论

          本文标题:办公软件VBA学习(With)

          本文链接:https://www.haomeiwen.com/subject/fvnqoltx.html