excel单元格表示方法

1单元格

1).Cells(a , b);

2).Range("a1");

2.区域

1)Range("B2:J2");

2)Range(Cells(i, 1), Cells(i, 5));

3)Rows(a) eg.Rows(3),Columns(4)

4)Rows(a&":"&b) eg. Rows("1:1") Columns不适用

5)不连续的区域用union,Union(Range(Cells(j, 1), Cells(j, 5)), Range(Cells(i, 1), Cells(i, 5)))

posted on 2017-01-25 15:38  bx_yang  阅读(1235)  评论(0编辑  收藏  举报