Excel VBA USERFORMS #21 Use the Mouse Scroll Wheel for Listbox! Example included

preview_player
Показать описание

In this lesson, we use the Mouse Scroll Wheel to manipulate the selection in a listbox.

I first saw this done by Peter Thornton, here's the blog post:

Fantastic Developer Tools:
Рекомендации по теме
Комментарии
Автор

you saved me so much time jeez thank you

poltondt
Автор

Merry Christmas everyone. I hope God blesses you richly this upcoming year. Remember, you ARE a success!! Believe it, be it! Blessings my friends!! Dan

ExcelVbaIsFun
Автор

That's an excellent question. Will have to investigate this as time allows, Drunken! Thanks for comments!

ExcelVbaIsFun
Автор

Awesome got that working no problem in a Userform. any ideas if it can be tweaked to work with listboxes in a sheet?

MatthewAlner
Автор

Great work explaining Peter Thornton code, and with a few tricks in between.

However, I am just wondering if Peters code can be used directly with a standard validation list on a standard Sheet?
His code appears to be hard-wired for use through "User forms" only?

Can this be done?

BuggSmasher
Автор

thanks a lot for sharing this, its saves my time. i just start selling car parts & there more than 1000+ item to mange . so, this really saves my butt.

algamdie
Автор

Excellent! How to scroll with the userform itself?

ahmedmoursi
Автор

6:33 More than 0
6:35 Less than 0
:)
9:40 - 9:48 is there a cut where you supposed to test the code? (or demonstrate?) that part skipped?

ChristosG
Автор

Can you share the link to Peter Thornton's code?

karllonbeck
Автор

How can this be applied to a TEXT box as opposed to a ListBox or a ComboBox???

chrisk
Автор

When I clicked your link below there was an annoying message for a survey, is that normal in your site?

Thanks for sharing this info anyway!

javiersilva
Автор

What if I want to use mouse scrolling with only userform dialog ????

okwithbeingsolo
Автор

hola, como hago que sea compatible para office 64Bits y de 32 bits ?

silvermanu
Автор

Hey! I'm trying to use this code on a MULTIPAGE, but it's not working. The message says that there's some compilation error and I don't know why. Could you help me?! Thanks!

victoralexandre
Автор

i noticed when i go with muse over list to scroll down the focus is taken from the textbox where i was written. so if i back typing on the txt box the list wil not update(it is update automatically with change
on textbox) . i should back to textbox and click on to continue written.

any trying or tips to fix that will be appreciated.

algamdie
Автор

Too bad that much convoluted code is needed to get the scroll wheel to work in a list box. Thought it would be easier that that.

michaelkrailo
Автор

Hey i tried this... Code... But i got an error saying that this code has to be updated to run on 64-bit system. 😭😭😭 What to do??

suprabhathsharma
Автор

I'm sorry, I'm in Russia. I am writing through Google translator.
I registered for the site using the specified link, but I still can’t download the example file. Yet how can I get an example file?

kickone
Автор

it's sad that i'm running an office 64... =/ 

estevaoterci
Автор

If I'm happy with this, Msg box"Thanks a lot. "

fillyperfil