+ Reply to Thread
Results 1 to 2 of 2

How can I disable the mouse buttons

  1. #1
    Registered User
    Join Date
    01-01-2005
    MS-Off Ver
    2007
    Posts
    368

    How can I disable the mouse buttons

    Hi,

    How can I disable using VBA, the:

    -mouse wheel button
    -mouse right click button

    Regards,
    Elio

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning efernandes67

    Quote Originally Posted by efernandes67
    How can I disable using VBA, the ... mouse right click button
    Piece of cake! This code in the worksheet module should sort that out :
    Please Login or Register  to view this content.
    Quote Originally Posted by efernandes67
    How can I disable using VBA, the ... mouse wheel button
    Hmmm, bit trickier this one. VBA support for the mouse wheel is a bit sparse unfortunately. There is lots of buzz in forums about a .dll that will allow you to do this in Access, but not in Excel - and to be honest the question doesn't come up that often. You could try this utility - haven't tried it myself but you might like to post back your findings for the benefit of others ...

    http://www.gasanov.net/VBScroll.asp

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1