ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Mouse scroll in user form list (https://www.excelbanter.com/excel-programming/312367-mouse-scroll-user-form-list.html)

GoDGo

Mouse scroll in user form list
 
I have created a user form that includes a list box. The list box is large
and therefore produces a scroll bar. For some reason the the mouse wheel
does not work within this user form. The mouse wheel works perfectly
normally within the main active spreadsheet and the VBA code. I have
updated the mouse drivers (Microsoft Intellimouse Explorer) with no success.

Any clues would be great.



Jim Rech

Mouse scroll in user form list
 
It looks as if MS did not program the list box to respond to the wheel roll
event. I don't know that you can do anything about it.

--
Jim Rech
Excel MVP
"GoDGo" wrote in message
u...
|I have created a user form that includes a list box. The list box is large
| and therefore produces a scroll bar. For some reason the the mouse wheel
| does not work within this user form. The mouse wheel works perfectly
| normally within the main active spreadsheet and the VBA code. I have
| updated the mouse drivers (Microsoft Intellimouse Explorer) with no
success.
|
| Any clues would be great.
|
|



Ivan F Moala[_15_]

Mouse scroll in user form list
 

You will Basically need to Subclass the Userform.

Have a look here for a technique to do this.

http://www.xtremevbtalk.com/showthre...2821#post79807

--
Ivan F Moal

-----------------------------------------------------------------------
Ivan F Moala's Profile: http://www.excelforum.com/member.php...nfo&userid=195
View this thread: http://www.excelforum.com/showthread.php?threadid=26604


Robin Hammond[_2_]

Mouse scroll in user form list
 
There's a solution on my site using a $29 activex control from mabry
software written by Karl Peterson I think and some mouse handlers I built to
get around the lack of handles for MSFORMS forms.

http://www.enhanceddatasystems.com/E...istScrolls.htm

Robin Hammond
www.enhanceddatasystems.com

"GoDGo" wrote in message
u...
I have created a user form that includes a list box. The list box is

large
and therefore produces a scroll bar. For some reason the the mouse wheel
does not work within this user form. The mouse wheel works perfectly
normally within the main active spreadsheet and the VBA code. I have
updated the mouse drivers (Microsoft Intellimouse Explorer) with no

success.

Any clues would be great.






All times are GMT +1. The time now is 05:13 PM.

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