i have used the code below which works fine in that greys out the insert / delete options from the menu,,however, the user would still be able to insert/delete by right clicking and diong it that way, can any one offer a soloution for this (i would like to do this without using the protection option)
Thanks
Private Sub Worksheet_Activate()
Dim objCmdBrPp As CommandBarPopup
Set objCmdBrPp = Application.CommandBars("Worksheet Menu Bar").Controls("Insert")
objCmdBrPp.Controls("Rows").Enabled = False
End Sub
'=================================================
Private Sub Worksheet_Deactivate()
Dim objCmdBrPp As CommandBarPopup
Set objCmdBrPp = Application.CommandBars("Worksheet Menu Bar").Controls("Insert")
objCmdBrPp.Controls("Rows").Enabled = True
End Sub
Thanks
Private Sub Worksheet_Activate()
Dim objCmdBrPp As CommandBarPopup
Set objCmdBrPp = Application.CommandBars("Worksheet Menu Bar").Controls("Insert")
objCmdBrPp.Controls("Rows").Enabled = False
End Sub
'=================================================
Private Sub Worksheet_Deactivate()
Dim objCmdBrPp As CommandBarPopup
Set objCmdBrPp = Application.CommandBars("Worksheet Menu Bar").Controls("Insert")
objCmdBrPp.Controls("Rows").Enabled = True
End Sub