I have a worksheet with protected cells. There's an 'add row' button and I need a 'delete row' button. HOWEVER, I only want the user to be able to delete the row if it is within a named range.
ActiveSheet.Unprotect Password:="password"
If "selected row" within Range("ProjectList") Then
Row.EntireRow.Delete Shift:=xlUp
End If
ActiveSheet.Protect Password:="password"