Hi
using the search facility i've cobbeld together this code in order to help remove the cut copy and paste functions.
Private Sub Workbook_Open()
Application.OnKey "^{c}", "" 'Copy
Application.OnKey "^{v}", "" 'Paste
Application.OnKey "^{x}", "" 'Cut
On Error Resume Next
ShortcutMenus(xlWorksheetCell).MenuItems("Cut").Delete
ShortcutMenus(xlWorksheetCell).MenuItems("Copy").Delete
ShortcutMenus(xlWorksheetCell).MenuItems("Paste").Delete
ShortcutMenus(xlWorksheetCell).MenuItems("PasteSpecial").Delete
On Error GoTo 0
Application.CommandBars("Standard").Visible = False
End sub
However you can still use the the Worksheet command bar > Edit > cut
I originally thought that may be
Application.CommandBars("worksheet menu bar").Visible = False
would work but to no avail, what should i do?
Dan
using the search facility i've cobbeld together this code in order to help remove the cut copy and paste functions.
Private Sub Workbook_Open()
Application.OnKey "^{c}", "" 'Copy
Application.OnKey "^{v}", "" 'Paste
Application.OnKey "^{x}", "" 'Cut
On Error Resume Next
ShortcutMenus(xlWorksheetCell).MenuItems("Cut").Delete
ShortcutMenus(xlWorksheetCell).MenuItems("Copy").Delete
ShortcutMenus(xlWorksheetCell).MenuItems("Paste").Delete
ShortcutMenus(xlWorksheetCell).MenuItems("PasteSpecial").Delete
On Error GoTo 0
Application.CommandBars("Standard").Visible = False
End sub
However you can still use the the Worksheet command bar > Edit > cut
I originally thought that may be
Application.CommandBars("worksheet menu bar").Visible = False
would work but to no avail, what should i do?
Dan