Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On 5 Mar, 11:31, Joel wrote:
Sub fill_formula_until_end() 'find last row in column B LastRow = Range("B" & rows.Count).end(xlup).Row for Rowcount = 9 to LastRow * *if Range("B" & RowCount) < "" then * * * * *Range("W" & RowCount) = Range("W8") * * * * *Range("X" & RowCount) = Range("X8") * *end if next RowCount Joel This leaves the formulas in cells W8 and X8 but the cells below are hardcoded with whatever value was in W8 and X8, rather than entering the formula Any idea what change I need to make to your code? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Auto Fill formula from a column to row | Excel Discussion (Misc queries) | |||
fill column with formula | Excel Worksheet Functions | |||
Fill Formula Not Adjusting Down the Column | Excel Discussion (Misc queries) | |||
Automatically fill in third column depending on data in second column | Excel Programming | |||
Fill a column with a formula | Excel Discussion (Misc queries) |