Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Need tooltip to be displayed in multiple lines in the ribbon

Posted on 2009-04-09
2
1,385 Views
Last Modified: 2012-05-06
Hi All
The code below adds a button to the ribbon in Excel 2007. The problem Im having is that the tooltip is all added in one line. Is there a way to make it go to the next line so it looks something like this?
Prepare an MS Word document with
 suppliers profiles and automatically
 e-mail it to them. The document will
 contain the name of the company,
and where available the name of the
 contact person. The template must
 be available in C:\Data\SupplierProfile.docx.
Thanks in advance
Elmo
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="false">
<tabs>
 
<tab id = "customTab" label="Tara Nawa" insertAfterMso="TabView">
 
<group id="eMail" label="e-Mail">
<button id="btnPerSupProf" screentip="Prepare an MS Word document with suppliers profiles and automatically e-mail it to them. The document will contain the name of the company, and where available the name of the contact person. The template must be available in C:.docx." label="Personalized-Supplier Profile" onAction="CallControl"  imageMso="Magnifier" />
</group>
 
</tab>
</tabs>
</ribbon>
</customUI>

Open in new window

0
Comment
Question by:cErasmus
2 Comments
 
LVL 3

Assisted Solution

by:SimonThompson
SimonThompson earned 500 total points
ID: 24125049
Think you can use


screentip="Prepare an MS Word document with &#10; supplier profiles and automatically &#10; e-mail it to them. The document will contain the name of the company, and where available the name of the contact person.

or perhaps try /n
or even </BR>

Sorry cant be more help
0
 
LVL 1

Accepted Solution

by:
cErasmus earned 0 total points
ID: 24125805
Hi Simon
I thought I deleted this question. Obviously I did not. You cannot use any of the standard XML ways to force a line break in the screentip tag. What does work though is to use the supertip tag. The line is automatically broken where needed and you can use &#10; or &#13; breaks where needed.  Using these breaks in the screentip just gives you those little box characters like this 
Elmo
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question