Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming,comp.lang.basic.visual.misc
|
|||
|
|||
![]()
Hi
I've got a variable called UnPopulated (actually it's longer than that but I've shortened it to simplify things) which holds the number of the first blank row in an Excel spreadsheet. What I'm then trying to do is Autofill a cell from column C of the last significant row to that blank row (the code selects the cell to AutoFill from correctly): Selection.AutoFill Destination:=Range("C" & UnPopulated), Type:=xlFillDefault So, if the ActiveCell is C50 then it should AutoFill to C51 but I'm just getting the error. What is the cure?! Any help much appreciated. JJ (UK) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run-time error '1004': AutoFill method of Range class failed | Excel Discussion (Misc queries) | |||
Run-time error '1004': AutoFill method of Range class failed | Excel Discussion (Misc queries) | |||
Autofill method of range class failed | Excel Discussion (Misc queries) | |||
Autofill method of range class failed | Excel Discussion (Misc queries) | |||
Autofill method of range class failed - sometimes | Excel Programming |