[VBA ] 请问一下关于AutoFill 部分

楼主: apologize (人生在世很惬意)   2015-02-13 16:39:42
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?
作者: ClubT (小喬)   2015-02-13 17:08:00
错误讯息是啥?
作者: Catbert (宅男)   2015-02-17 12:54:00
Range(Cells(8, 3).address, Cells(8, 28).address)

Links booklink

Contact Us: admin [ a t ] ucptt.com