Scroll mouse in ListBox

Solved/Closed
smuneeb Posts 77 Registration date Saturday September 5, 2015 Status Member Last seen March 8, 2017 - Nov 24, 2015 at 02:00 PM
smuneeb Posts 77 Registration date Saturday September 5, 2015 Status Member Last seen March 8, 2017 - Nov 25, 2015 at 01:55 PM
Hello,

I would like to know that How do I enable mouse scroll in listbox inside a userform.
Thanks


1 reply

I was surprised to see it didn't work as standard.
So, after a quick Google I found this:
https://social.msdn.microsoft.com/Forums/en-US/7d584120-a929-4e7c-9ec2-9998ac639bea/mouse-scroll-in-userform-listbox-in-excel-2010?forum=isvvba

I must admit that the solution in there didn't quite work for me 100% though.
The Listbox did scroll up and down but its not very smooth. Might just be my mouse though.
When closing the form I got an error. Again, this might have been caused by my test code rather than the given solution.

Have fun trying to get it working though as its not for the casual user.
0
smuneeb Posts 77 Registration date Saturday September 5, 2015 Status Member Last seen March 8, 2017 1
Nov 25, 2015 at 01:55 PM
Hi

You always done a good job
It worked perfectly and accurately
Thanks
0