HeitmanProgrammers
asked on
Disable "New" in Excel Toolbar in VB .NET
Programmatically, using VB .NET, I can disable File > New in Excel. However I am having trouble disabling "New" in the toolbar. How can I do that? Also how can I disable Ctrl + N? I tried Application.OnKey("^N", "") but it doesn't work.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I can disable it however it disables on the whole application. I only want to disable it for the current workbook. Also, I need to disable "New" from the toolbar (toolbar with all the shortcurts).
ASKER