Hi!
I'm a total newbie when it comes to API. I have a pretty long ListBox in my UserForm and I would like to be able to use the mouse wheel to scroll through it. Trouble is I'm using a 64bit version of Excel and I can't find what I need to change from the 32bit code I found. Here's the code:
In a module:
In the UserForm:Please Login or Register to view this content.
Now, when I run this as is, I get a compilation error. I need to change these:Please Login or Register to view this content.
to Declare PtrSafe. I did and now when I run it, I get a type incompatibility error with at least this subPlease Login or Register to view this content.
What else do I have to change to make it work with a 64bit version of Excel? Best case scenario would be a code that runs on either version, but I will be very happy if it works on 64bit.Please Login or Register to view this content.
Hope I'm clear enough. If you need more info, I'll be glad to clarify!
Bookmarks