Solved

Need tooltip to be displayed in multiple lines in the ribbon

Posted on 2009-04-09
2
1,321 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
 

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

My experience with Windows 10 over a one year period and suggestions for smooth operation
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

705 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now