M Mehmud Khan Member Oct 27, 2017 #1 Hi, Can anyone help into this... When I click to Ins button than a row must insert after the last task data fed by me. Please refer the attached file... Thank and Regards! Mehmud Attachments DATA.xlsm 12.9 KB · Views: 6
Hi, Can anyone help into this... When I click to Ins button than a row must insert after the last task data fed by me. Please refer the attached file... Thank and Regards! Mehmud
N Nebu Excel Ninja Oct 27, 2017 #2 Hi: May be this code: Code: Sub test() Dim b As Object Set b = ActiveSheet.Buttons(Application.Caller) With b.TopLeftCell c& = .Row End With i& = Me.Cells(Rows.Count, 4).End(xlUp).Row - 1 If Cells(i, 1) <> vbNullString Then: Rows(c + i).EntireRow.Insert End Sub Thanks Attachments DATA.xlsb 20.1 KB · Views: 3
Hi: May be this code: Code: Sub test() Dim b As Object Set b = ActiveSheet.Buttons(Application.Caller) With b.TopLeftCell c& = .Row End With i& = Me.Cells(Rows.Count, 4).End(xlUp).Row - 1 If Cells(i, 1) <> vbNullString Then: Rows(c + i).EntireRow.Insert End Sub Thanks