ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do you change button color by moving over it? (https://www.excelbanter.com/excel-programming/292548-how-do-you-change-button-color-moving-over.html)

Preston2002

How do you change button color by moving over it?
 
Hi

Is it possible to change the colour of a commandbutton by moving over
it with the cursor
and change back to original color once the cursor is moved off of the
button


---
Message posted from http://www.ExcelForum.com/


Bryan McMullan

How do you change button color by moving over it?
 
I believe you can use the MouseMove event and just change the cb when the
event runs....

hth

Bryan

"Preston2002 " wrote in message
...
Hi

Is it possible to change the colour of a commandbutton by moving over
it with the cursor
and change back to original color once the cursor is moved off of the
button


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 01:48 PM.

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