I would like to be able to use the scroll wheel of the mouse to scroll through the items in a VBA ListBox in Word. I have found several bits of code online, all for Excel. None of them are recent, and none of them work. I don’t know if that’s because the code was written fro Excel, or if it’s outdated, or if I’m doing something wrong. I’m following the instructions faithfully, but when all of the code is in place, the mouse wheel doesn’t cause the list box to scroll. There are no errors when I compile, no errors at run-time.
Can anyone offer Word-specific code to scroll a VBA list box? I will need this for both 32 bit and 64 bit Word 2016, but initially would be happy with 32 bit. (I can tweak for 64 bit when the time comes.)
Many thanks.