PDA

View Full Version : Tooltip on Labels



magelan
10-25-2012, 11:50 AM
I have an ActiveX Label that is an extremely long file name and is being shortened. Is there any way to slap a tooltip onto a Label object so they can hover over it and see the full filename if they need to?

Rob342
10-26-2012, 01:44 PM
Try this

Application.ShowToolTips = True
With Me.label1 'The name of your label
.ControlTipText = "Click In The Box & Enter Your Password " ' Change to suit
End With

magelan
10-29-2012, 06:49 AM
Try this

Application.ShowToolTips = True
With Me.label1 'The name of your label
.ControlTipText = "Click In The Box & Enter Your Password " ' Change to suit
End With


That doesnt seem to be a valid property on a label [atleast my activex label]

Rob342
10-30-2012, 01:24 PM
I thought you were using a label on a form
refer to this post, this could answer your question
http://www.vbaexpress.com/forum/showthread.php?t=15084

Rob