Is it possible to set a Control Tip for a Text Box in Excel 2003 ?
I thought I could use the ControlTipText property but get:
Run-time error 438: Object doesn’t support this property or method.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » How to set tip in text box in Excel
Martin,
The Control Tip property works in 2010 .xlsm file and also when saved as 2003 .xls file in compatibility mode.
40520-ctrltipproperty
If it is present in 2003 there must be another reason for the error than it not being supported.
Here’s my test file in .xls format.: 40521-ControlTipExample
HTH :cheers:
If you are using an active x textbox on a worksheet, you can place a comment in the cell behind the textbox. The comment will appear when the mouse hovers over it.
HTH,
Maud
RG: thank you.
Maybe I have explained this badly – it’s the Command Button (the one captioned Press to display form) that I want to show the Control Tip.
Maud: thank you too !
I was toying with the idea of a comment but hadn’t experimented with it combined with an ActiveX textbox. I’ll have a play with that.
OK, this is the first time I’ve used an ActiveX textbox so be gentle with me !
I’ve created one – it behaves as I would expect when in design mode but in user mode nothing happens when I hover over it (with a commented cell underneath) and if I click on the textbox it goes straight into edit mode . . . what am I doing wrong ?
What I am trying to achieve here is a little help/advice for the user before pressing a button – or a textbox with an assigned macro.
Hi Martin
see attached file for example of displaying a ‘help tip’ when moving a mouse over a macro button.
In this example file, I added an ActiveX command button.
I named the button as ‘button1’ using the ‘name’ box (to the left of the formula bar)
I added sheet code for the mouseover event.
I also added two ‘form’ buttons to allow you to manually display the ‘help’ shape (to allow you to edit the required help text)
Have a play with this and see if it does what you want.
zeddy
Hi Z,
I couldn’t convert the .xlsm file but the hyperlink example works, thanks.
I’m working on how I can adapt this to my requirement . . . . when I create a hyperlink to a shape (so that I can add a screen tip), I have to put in an address – to which I get sent if I happen to click on the shape.
Why doesn’t this happen in your example ? I know I’ll kick myself when (if) you tell me :rolleyes:
OR . . . can the hyperlink target address be a Macro ??? If so how would I reference it ?
I see the target can be a Defined Name, so I wonder if I can slip some code in there perhaps ?
So many questions . . .
Hi Martin
Lets start by getting the code from the .xlsm version working with your Excel2003.
First off, I couldn’t create this in Excel2003 because I have an ongoing problem with my Excel2003.
I am unable to add any ActiveX controls to a worksheet in Excel2003.
open this attached Excel2003 file.
Lets assume that you can add an ActiveX command button to a worksheet.
If you can, then:
1. add an ActiveX command button to the sheet
2. name the command button as ‘button1’ using the name box (to left of formula bar)
Edit the help text in shape1 to suit your needs.
Then hide it, using the
button
Then move your mouse over the command button you added.
zeddy
Thanks Zeddy,
I’ve got there – thanks for sticking with this.
A curious thing I came across – launching the code by clicking on the shape didn’t work the second time !
Strictly, it doesn’t work if the target cell of the hyperlink is already selected – presumably because in that case there is no change.
I’ve worked around this, somewhat crudely, in the attached.
The triggers for change events in Excel have always led me astray one way or another, so this one is consistent I suppose.
PS I now have to be careful about clicking in K1 :rolleyes:
Hi Martin
So, here is another sneaky method for showing a ‘screen tip’:
1. select any empty cell
2. from the menu insert>chart
3. click Finish
You now have an empty blank chart object.
4. Right-click the empty chart object to assign your macro.
5. Insert your graphic image into the empty chart (e.g. use copy and paste)
6. Adjust size of chart area (containing your image) to suit
7. Select your graphic image.
8. Assign a name to the image using the Name box (to left of formula bar)
9. The assigned name becomes your tooltip text!
See example attached.
zeddy
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications