Jump to content

'Right Mouse Click' disabled


Carl_Maddox

Recommended Posts

Hi,

I've customed the 'Worksheet Menu Bar' items in Excel 97. I wanted to disable the right mouse click and the double click for the main menu bar, thus, providing protection.

I disabled the right mouse click by:

Application.CommandBars("Toolbar List").Enabled = False

which was fine.

I then disabled the double click by:

Application.DoubleClick = "DisableDB"

Sub DisableDB()

Application.CommandBars("Toolbar List").Enabled = False

End Sub

My problem is, I have now set Application.DoubleClick = "", however, the double click returned but my right mouse click (for the pop up menu) on a worksheet is not working.

Any ideas would be appreciated.

Many Thanks,

Carl

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...