Own Help Text for ActiveX Buttons?

Roopher

Board Regular
Joined
Jul 8, 2008
Messages
73
Hello there!

Is is possible to add some own help-texts to ActiveX command buttons? Such as that the text comes on when the user is hoovering over the button element.

What I need is to add user-help items to an Excel 2007/VBA application. There is no property to that within the ActiveX items' property collection?

Best regards,
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi, You could try this:-
Add an "ActiveX" Text box next to your Command Button, set is property to Multiline.
Adjust control Names in code to suit.
Code:
Private Sub CommandButton1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
Const lngSensitivity As Long = 5
   With ActiveSheet.CommandButton1
      ActiveSheet.TextBox1.Visible = _
       (X > lngSensitivity And X < .Width - lngSensitivity And _
         Y > lngSensitivity And Y < .Height - lngSensitivity)
           ActiveSheet.TextBox1.Text = "This is the Mouse" & vbCrLf & "Move Result"
End With
Regards Mick
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,549
Members
449,089
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top