K
KeriM
I'm trying to do an autofill on a dynamic range of cells, and I'm havin
some trouble. Here is what I have so far:
Code
-------------------
Range("CR2C2").Select
i = Selection.End(xlDown).Row
Intersect(Range("CRC"), Rows(i)).Select
LastRow = ActiveSheet.Range("A1").End(xlDown).Row
Selection.Autofill Destination:=Range( ? & LastRow)
-------------------
I'm not sure what to put as my starting range in the autofill. Th
starting row value is stored in "i", just not the range of cells that
want to autofill. I tried putting that intersect statement in there, bu
it gave me a "type mismatch" error. Does anyone know what to do? Thanks
some trouble. Here is what I have so far:
Code
-------------------
Range("CR2C2").Select
i = Selection.End(xlDown).Row
Intersect(Range("CRC"), Rows(i)).Select
LastRow = ActiveSheet.Range("A1").End(xlDown).Row
Selection.Autofill Destination:=Range( ? & LastRow)
-------------------
I'm not sure what to put as my starting range in the autofill. Th
starting row value is stored in "i", just not the range of cells that
want to autofill. I tried putting that intersect statement in there, bu
it gave me a "type mismatch" error. Does anyone know what to do? Thanks