Prev: auto generate sheets in a workbook from list using a master sheet
Next: Filter/Display only certain rows of information based on a use
From: iamnu on 1 Mar 2010 10:41 In Row(1), I have some formulas. As an example, "{=MIN(IF($B $3:B1994,$B$3:B1994))}" is in Cell B1. Row(2) contains some headings. I have code as follows, that copies data from one sheet and inserts into another sheet: ss.Rows("2:" & 2 + dta - 1).Copy ds.Rows(3).Insert Shift:=xlDown This causes the cell starting and ending values in the Row(1) cells to increase by one. I want the Starting value in cell B1 to always be $B$3, but the ending value to increase by one as I insert new data. Can someone explain how to do this? |