Selection.AutoFill Destination:=Range(Cells(8, 3), Cells(8, 28)),
Type:=xlFillDefault
这是我用Cells 写 AutoFill 就编译错误。
可是我这样写
SN = "C" + CStr(7 + 2 * i) + ":AB" + CStr(7 + 2 * i)
Selection.AutoFill Destination:=Range(SN), Type:=xlFillDefault
就可以编译,请问怎样用Cells 写AutoFill?