paulcherianc
Member
I am looking for a macro that will delete the Entire row of multiple selected cells in Column B.
I have a sample macro that will delete only the row of selected cell. But I need an extended version. Can anyone help me to fix this?
I have a sample macro that will delete only the row of selected cell. But I need an extended version. Can anyone help me to fix this?
Code:
Sub DeleteRows()
ActiveSheet.Unprotect Password:="PCode"
ActiveCell.EntireRow.Select
Selection.Delete
ActiveSheet.Protect "PCode"
End Sub