Reference to cell
注意Range的不同reference方法
cells(6,1)是指相对位置,第6行第1列。以后写loop时会用上
在RANGE的范围内,找到相对的4th row and 2nd column
从A1开始,offset 7行2列,在4个cell(A1:A4)中输入8th
使用range的命名
Reference to rows & columns
Rows(“12:14”) 12到14行
Range(“16:16”) 行的另一种表达方式:只有16行
column的reference方式同上
也可以用Autofit
F8 逐行调试
选中F8,可以逐行调试VBA,同时调试效果会显示在excel中