VBA To replace Mousewheel Scroll Event to go down or up one row isntead of 3

Bill Bisco

Active Member
Joined
Aug 8, 2007
Messages
446
Dear all,

I want to write VBA Code that will replace the Regular Mousewheel Scroll Event and go up or down 1 row instead of whatever the Windows Mouswheel Scroll settings are


This is the code to Scroll down or up<code> </code><code>ActiveWindow.SmallScroll down:=1
<code>ActiveWindow.SmallScroll up:=1

What VBA Code would I use to modify the OnScroll event?

Thanks,

Bill
</code>
</code>
 

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top