ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Disable mouse scroll wheel (https://www.excelbanter.com/excel-programming/375195-disable-mouse-scroll-wheel.html)

Zigster

Disable mouse scroll wheel
 
Is there any way to disable the mouse scroll wheel?

I've tried Custom Views and scrollarea. Custom views disable scrollarea.
Scrollarea works OK, but the 1st cell of the defined scrollarea is always
highlited and I can't find a way around that.

Thanx in advance - Dean

NickHK

Disable mouse scroll wheel
 
AFAIK, the best you can do, without affecting the user's OS or hooking
Excel, is to change :
Application.RollZoom = True

But why do you need to do this?

Maybe you need the WS.EnableSelection=xlNoSelection ?

NickHK

"Zigster" wrote in message
...
Is there any way to disable the mouse scroll wheel?

I've tried Custom Views and scrollarea. Custom views disable scrollarea.
Scrollarea works OK, but the 1st cell of the defined scrollarea is always
highlited and I can't find a way around that.

Thanx in advance - Dean





All times are GMT +1. The time now is 10:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com