ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Qn: MousePointer (https://www.excelbanter.com/excel-programming/309076-qn-mousepointer.html)

Michael Vaughan

Qn: MousePointer
 
Hello Everyone,

I installed the mod to click on a email address in a label box in my
userform. But, I need to know what the code is for the "hand" so that when
I place my cursor over the address, it turns from the pointer into the hand.
Does anybody know what the code for the MousePointers are??? The options
are 1-15 and 99. It will take me hours to try every single one.

Thanks.. mv



Jim Cone

MousePointer
 
Michael,

You should be able to assign a "hand" mouse icon during design time.
In the property window for the label...
Change the mouse pointer property to 99 (custom)
In the mouse icon property - browse to C:\Windows\Cursors\
Pick out one you want.

Regards,
Jim Cone
San Francisco, CA

"Michael Vaughan" wrote in message ...
Hello Everyone,

I installed the mod to click on a email address in a label box in my
userform. But, I need to know what the code is for the "hand" so that when
I place my cursor over the address, it turns from the pointer into the hand.
Does anybody know what the code for the MousePointers are??? The options
are 1-15 and 99. It will take me hours to try every single one.

Thanks.. mv



david mcritchie

MousePointer
 
I guess it's not as straight forward as you might like because you have to
pick up the icon.
http://www.j-walk.com/ss/excel/tips/tip71.htm

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Michael Vaughan" wrote in message ...
Hello Everyone,

I installed the mod to click on a email address in a label box in my
userform. But, I need to know what the code is for the "hand" so that when
I place my cursor over the address, it turns from the pointer into the hand.
Does anybody know what the code for the MousePointers are??? The options
are 1-15 and 99. It will take me hours to try every single one.

Thanks.. mv






All times are GMT +1. The time now is 11:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com