MouseWheel Fix for VBA
This is a followup to a previous blog entry of mine: Fix: VB6 IDE Scrolling using the MouseWheel.
Someone asked if my add-in would work within VBA for Office. I did some digging and yes it does. All you have to do is install the addin as described within:
Q837910 Mouse wheel events do not work in the Visual Basic 6.0 IDE - https://support.microsoft.com/?id=837910
Then create a .reg file with the contents below and merge it with your registry. Please note that Office (at least Word in my test) will ignore these keys if you put them under HKEY_LOCAL_MACHINE. It appears that add-ins for VBA are per user.
HTH
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\VBA\VBE\6.0\Addins\VB6IDEMouseWheelAddin.Connect]
"FriendlyName"="MouseWheel Fix"
"CommandLineSafe"=dword:00000000
"LoadBehavior"=dword:00000000
Comments
- Anonymous
July 12, 2004
This is terrific! Thank you. It worked first time after getting the registry changes made. - Anonymous
August 04, 2004
I was looking for this to use in the AutoCAD VBA IDE and it works great. I also tried it in the Excel 2003 VBA IDE and I get an error everytime I close Excel. It seems that the Add-in is not shutting down properly. - Anonymous
August 06, 2004
Excellent! Works with my Logitech MX700 wheel mouse, and has ended a year of frustration!
Julian - Anonymous
August 06, 2004
This is great! Worked like a charm! Thanks Rob- - Anonymous
June 21, 2005
Clicca il titolo se sei interessato al