Hello,
I am using the below macro to delete rows. Would you know how I can insert a message before running the macro such as "are you sure you'd like to delete the row?"
Many Thanks,![]()
Sub REMOVE() rw = ActiveCell.Row If rw >= 12 And rw <= 28 Then Else ActiveSheet.Unprotect Password:="p@ssw0rd!" Set rng = ActiveCell ActiveCell.EntireRow.Delete ActiveSheet.Protect Password:="p@ssw0rd!", AllowFormattingCells:=True End If End Sub
Graig
Bookmarks