VBA Code: Disable right click

richardw

Registered User.
Local time
Today, 12:25
Joined
Feb 18, 2016
Messages
48
Hi all,

I am using Access 2007 and I'd like to disable right clicks on forms through a VBA code (not from the Access menue or other).

If someone could help, I'll be grateful even after the incarnation of my little soul.

Thanks in advance :)
 
To disable right-click on a form via VBA code, use the following syntax:
Code:
Forms("MyForm").ShortcutMenu = [COLOR="Navy"]False[/COLOR]
 
Thank you ByteMyzer. It worked !
 

Users who are viewing this thread

Back
Top Bottom