VBA指定Range的几种方法

作者: xiaozhu 发布时间: 2022-10-14 浏览: 730 次 编辑

VBA中,指定range的方法有很多种,这里列出种常用的,以备后查。

'select cell A2 by its reference
Range("A2").Select
'select it again as row 1, column 2
Cells(1, 2).Select
'the third way
[a2].Select
'forth way
evaluate("a2").select

zenith
2022-05-04 闭关修炼中