Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How would you use VBA to change the bitmap picture assigned to a command
button on a worksheet? I'm playing with using the mouseover event to simulate a mouse roll-over as follows: ------------------------ Private Sub CommandButton1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single) debug.print CommandButton1.picture 'brings up the number of the current bitmap, whatever the number means ***change picture to mouse-over picture*** End Sub ------------------------ Regards, Wayne C. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Displaying a picture by pushing CommandButton | Excel Programming | |||
Can You Change A CommandButton Code Using A Macro? | Excel Programming | |||
How Do you Change The Color Of The CommandButton That You Just Prshed | Excel Programming | |||
CommandButton Caption change via macro | Excel Programming | |||
Change CommandButton Caption | Excel Programming |