close

例如:E1~E10縱軸

For 1 to Columns("E").CurrentRegion.Rows.Count

 

例如:A7~Z7橫軸

For 1 to Rows("7").CurrentRegion.Columns.Count

http://www.vbafan.com/2009/01/22/what-is-the-fastest-way-to-scan-a-large-range-in-excel/

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 Axxxx 的頭像
    Axxxx

    Axxxx

    Axxxx 發表在 痞客邦 留言(0) 人氣()