Solved

Need tooltip to be displayed in multiple lines in the ribbon

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

My experience with Windows 10 over a one year period and suggestions for smooth operation
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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