LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Dynamic Control Tip Text

Is this a userform that you've developed in the VBE?

If yes, then yep.

I don't know how you'd know what to base the change on, but this worked ok for
me--based on a button click and a random number.

Option Explicit
Private Sub CommandButton1_Click()
Dim SomeVar As Double
SomeVar = Rnd()
If SomeVar 0.5 Then
Me.Label1.ControlTipText = "hi"
Else
Me.Label1.ControlTipText = "bye"
End If
End Sub

BillyJ wrote:

Is there anyway to change what is in the control tip text depending on what
record I'm looking at in a form? For instance, I have a form that lists the
names of a number of people spit out from a query. I would want their phone
number or other related information to show up in one of those little "hover
boxes", which would obviously change from record to record.

Any thoughts?

Thanks very much in advance.


--

Dave Peterson
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Word wrapping in Text Box Control feature Stilla Excel Worksheet Functions 2 December 7th 05 09:08 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
dynamic chart title text cwinters Excel Discussion (Misc queries) 2 June 9th 05 08:31 PM
Help to edit (bold, colour etc) words in a text box created by control toolbox Jonathan hill via OfficeKB.com Excel Discussion (Misc queries) 1 February 12th 05 01:00 PM


All times are GMT +1. The time now is 12:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"