Hi All,
I have used this code from Peter Thornton from this post and works perfectly for my Combi and List boxes, but when I have the visual basic editor open I get a runtime error 91 - Object variable or block variable not set. When the visual basic editor is closed the error does not appear.
https://social.msdn.microsoft.com/Forums/en-US/7d584120-a929-4e7c-9ec2-9998ac639bea/mouse-scroll-in-userform-listbox-in-excel-2010
Anyone got any ideas as why this happens only when the visual basic editor is open?
Thanks
Bookmarks