Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm inserting a row and would like the newly inserted row
to have the same cell formulas (relative ref's) and cell formats as the originally selected row. Is this possible? The first row of my worksheet has labels. Row 2 thru n contain data records. Some of the data record cells have formulas. I want to insert a new row below the labels with the same cell formats and formula as the other data records. My current steps a WS.Range("A2").Select Selection.EntireRow.Insert A row is inserted below the labels but the new row inherits the cell formats from the label row rather than the selected 1st data row and there are no forumlas. If this is not possible during the insertion, is there a simple way to copy/paste the cell formats and formulas from the 1st data record to the newly inserted row? I could then insert the row, set the row cell values to NULL, copy/paste the 1st data record format/formulas to the newly inserted row then initialize whatever cell values I want. thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Insert row and copy formulas | Excel Discussion (Misc queries) | |||
Macro to insert a row and copy down formulas from row above | Excel Discussion (Misc queries) | |||
Copy and paste versus copy and insert copied cells | New Users to Excel | |||
automatically copy formulas down columns or copy formulas all the | Excel Worksheet Functions | |||
Copy/Insert rows with formulas | Excel Worksheet Functions |