Shortcut menu on worksheet tab

  • Thread starter Thread starter David
  • Start date Start date
D

David

How do I prevent the user accessing the right-click menu
on a worksheet tab?
 
David,

You can disable the tabs' right-click menu with the following code:

Application.CommandBars("Ply").Enabled = False


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top