I have the following code in my file which runs in the workbook_activate routine.

With Application.CommandBars("Cell")
.Controls("Cut").Delete
.Controls("Insert...").Delete
.Controls("Delete...").Delete
.Controls("Insert Comment").Delete
.Controls("Hyperlink...").Delete
.Controls("Insert Copied Cells...").Delete
End With

When I open Excel, a different workbook and then my workbook, I go to the first workbook and right-click on a cell and choose Copy. I then go to my workbook to paste it into, but when I right-click on a cell in my workbook, there is no Paste available (only Copy). It acts as if the commandbars for the cell have been reset. I even tried to use the Edit-Copy and Edit-Paste, but Edit-Paste is not available in my workbook. The code above acts as if everything is reset. When I comment out the code above, everything is ok. Is there a way to remove the options above without resetting?