Sub s1() Dim i As Integer For i = 1 To 100 Cells(i, 1) = " />
乔山办公网我们一直在努力
您的位置:乔山办公网 > excel表格制作 > <em>EXCEL</em>高手用<em>VB</em>A写两种FOR&

<em>EXCEL</em>高手用<em>VB</em>A写两种FOR&

作者:乔山办公网日期:

返回目录:excel表格制作




Sub s1()
    Dim i As Integer
    For i = 1 To 100
        Cells(i, 1) = i
    Next
End Sub
Sub s2()
    Dim c As Range
    For Each c In [b1:b100]
        c = c.Row
    Next
End Sub



For i = 1 To 10000 If Range("g"& i ) = "" Then rows(i).Font.Bold = True rows(i).Font.Italic = True end if next

相关阅读

关键词不能为空
极力推荐

ppt怎么做_excel表格制作_office365_word文档_365办公网