Hi,
i want to know whether there is any way to make an MouseWheel-Event in VBA (Excel 2003) and send it to the scrollBars of my UserForm?
Hi,
i want to know whether there is any way to make an MouseWheel-Event in VBA (Excel 2003) and send it to the scrollBars of my UserForm?
Last edited by Edwood; 11-17-2009 at 07:52 AM.
ok i found a solution myself. I just bind the ScrollTop-Property to a slider-control (Scroll-Event). This Slider-Control gets the Focus when clicking on the UserForm. Not an elegant solution - But it does the job![]()
hi Edwood,
Welcome to the Forum
Thanks for posting your solution. Can you please mark the post as solved (instructions are on the Rules page)?
Rob
Rob Brockett
Kiwi in the UK
Always learning & the best way to learn is to experience...
You can do it without a slider if you use API functions. See attached demo.
Everyone who confuses correlation and causation ends up dead.
Welcome to the Forum, unfortunately:
Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks