Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am getting a "Method Range of Object Global Failed with this code. What am
I doing wrong? Dim MyRangeA As Range Dim LastRowA As Long Range("J14").Select LastRowA = Cells(Cells.Rows.Count, "J").End(xlUp).Row Set MyRangeA = Range("J" & ActiveCell.Row & ":J" & LastRowA - 4) ActiveCell.FormulaR1C1 = "=MID(R3C2,2,10)" Range("j14").AutoFill Range("MyRangeA") End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Autofill Formula | Excel Worksheet Functions | |||
Autofill Formula | Excel Worksheet Functions | |||
Autofill formula to next row | Excel Discussion (Misc queries) | |||
Autofill Formula | Excel Discussion (Misc queries) | |||
how do I autofill within a formula | Excel Programming |