I would like the data entry portion of my worksheet to expand automatically when you try to make an entry on the last available line.
The attached spreadsheet is a portion of a workbook used to calculate how much concrete I need to do a job.
I have the following named ranges:
SlabData=E6:P9 (This named range may not be needed)
SlabDataLastRow=E9:P9
Note that shaded cells contain formulas. Everything in the last row needs to be copied into the new rows.
Note that there are merged cells that need to be copied.
Clicking in any cell in "SlabDataLastRow" should do the following:
- Insert three full rows (not cells) above row 9 - (I would like to be able to edit the VBA code to change this from 3 to any value such as 1,2,4 etc.)
- Copy the original entire row 9 and paste it into all of the new rows.
- Activate the cell that was clicked in the first place. From the user's perspective three new rows will magically appear below the active cell.
- The Name "SlabDataLastRow" will now refer to E12:P12 and SlabData=E6:P12
Thanks in advance,
Rob
Bookmarks