borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Save VB6 form as JPEG or GIF)Next Topic (how to get shape object/image from word document?) New Topic New Poll Post Reply
AndreaVB Forum : VBA (Access, Excel, Word, ...) : Mouse wheel problem in Excel 2k3 VBA
Poster Message
Yotzo
Level: Protégé

Registered: 06-08-2005
Posts: 4

icon Mouse wheel problem in Excel 2k3 VBA

Hello!

I'm trying to use mouse wheel in excel 2k3 VB macro, under windows XP. I found the code at http://www.andreavb.com/tip060008.html, but I just can't see any event related to wheel.
To see what's happening i put a "UserForm1.Label1.Caption = lMsg" trace line before the "If lMsg = WM_MOUSEWHEEL Then" line, where I print lMsg, but it's never changing when I rolling the wheel.
It's only changing, when I click to the task bar or back to the application window.

I don't know if I'm missing something, or this code shouldn't ever work
under office 2k3/windows XP, so it would be really great to me, if someone
could tell me what could be wrong.

Many thanks:
Yotzo

06-08-2005 at 10:13 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VBA (Access, Excel, Word, ...) : Mouse wheel problem in Excel 2k3 VBA
Previous Topic (Save VB6 form as JPEG or GIF)Next Topic (how to get shape object/image from word document?) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder