Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All........
I'm using the code below to try to AutoFill a formula down a column as far as the column to the left has data therein. Getting varying results.....sometimes it works right, sometimes 1 or 2 rows short, and sometimes goes way past the present end of the adjacent column to where it used to be last time there was data there.......please help. Range("i8").Formula = "=H8 + G8" Range("i8").Select Selection.AutoFill Destination:=Range("i8:i" & ActiveSheet.UsedRange.Rows.Count) Vaya con Dios, Chuck, CABGx3 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Range("i8").Formula = "=H8 + G8"
Range("i8").Select Selection.AutoFill Destination:=Range("i8:i" & _ cells(rows.count,8).End(xlup).Row) -- Regards, Tom Ogilvy "CLR" wrote: Hi All........ I'm using the code below to try to AutoFill a formula down a column as far as the column to the left has data therein. Getting varying results.....sometimes it works right, sometimes 1 or 2 rows short, and sometimes goes way past the present end of the adjacent column to where it used to be last time there was data there.......please help. Range("i8").Formula = "=H8 + G8" Range("i8").Select Selection.AutoFill Destination:=Range("i8:i" & ActiveSheet.UsedRange.Rows.Count) Vaya con Dios, Chuck, CABGx3 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
PERFECT Tom.........thanks a million.
Vaya con Dios, Chuck, CABGx3 "Tom Ogilvy" wrote: Range("i8").Formula = "=H8 + G8" Range("i8").Select Selection.AutoFill Destination:=Range("i8:i" & _ cells(rows.count,8).End(xlup).Row) -- Regards, Tom Ogilvy "CLR" wrote: Hi All........ I'm using the code below to try to AutoFill a formula down a column as far as the column to the left has data therein. Getting varying results.....sometimes it works right, sometimes 1 or 2 rows short, and sometimes goes way past the present end of the adjacent column to where it used to be last time there was data there.......please help. Range("i8").Formula = "=H8 + G8" Range("i8").Select Selection.AutoFill Destination:=Range("i8:i" & ActiveSheet.UsedRange.Rows.Count) Vaya con Dios, Chuck, CABGx3 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Autofill column from data (code) in column next to it | Excel Worksheet Functions | |||
Automating to autofill column B based on column A entry | Excel Discussion (Misc queries) | |||
Autofill Column D based on input in Column C | Excel Discussion (Misc queries) | |||
Autofill from column to row | Excel Discussion (Misc queries) | |||
Macro, autofill formula to end of column | Excel Programming |