I'd like to write a macro that will not hardcode the cell references when selecting a range.
Example: Cells B1:C1 contain a formula that I would like to fill down to all cells from B2:C15. However, the range to fill down will vary depending on Column A. If the cells in column A are blank then stop the fill. So how would I get the macro to fill only cells B2:C5 since cells A6 and on are blank.
Thanks in advance
Start Free Trial