Worksheets(1).Unprotect reply = InputBox("Are you sure you wish to delete the record? This action cannot be undone! Delete anyway? Then type y") If reply = "y" Then currentRow = Cells(4, 1) Cells(currentRow, 1).EntireRow.Delete Else Range("E2").Select Exit Sub End If Worksheets(1).Protect End Sub