Originally Posted by
Ladyj205
yes it was somethings on my worksheet not mention. i was trying to re-do the whole thing. i forgot to take it out. sorry
if there anyway to overide the new rows to keep it from deleting other rows.
Don't know what 'override the new rows' means
If you insert a row like that, then it will push the other rows down, as well as any controls unless you mark each control to "Don't Move or Resize with Cells" like SamT said in #9
Capture.JPG
If you just want to INSERT a new row 16 without deleting, just remove the second like
Private Sub CommandButton1_Click()
Me.Rows("16:16").Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
Me.Rows("26:26").Delete Shift:=xlUp
End Sub
If you want to REPLACE row 16 then maybe
Private Sub CommandButton1_Click()
Me.Rows("16:16").Delete Shift:=xlUp
Me.Rows("15:15").Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
End Sub