![]() |
|
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Feb 2002
Location: Austin, TX
Posts: 292
|
Can it be done? Is it possible to have a 2-line label on a custom toolbar button that uses image and text (or text alone)?
Is there a way to override Windows and use a different size/style font for custom toolbar button labels? |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Denver, Colorado USA
Posts: 3,884
|
Hi Pilot,
If I understand correctly what you want, the answer is no. The caption of a menu button control will not display special characters (such as carriage return and line feed). You can, however, make the caption of a toolbar button control wrap. For example, the following code gives a two-line caption to the first button on a toolbar named "Custom 1": With Application.CommandBars("Custom 1") .Controls(1).Caption = "New caption line 1" & vbCrLf & "second line" End With Regarding your second question, you can change the size/font of all tooltip text via the Display Properties: right-click on the windows desktop, select Properties, select Appearance tab, select ToolTip in Item dropdown, and edit font.
__________________
Keep Excelling. Damon VBAexpert Excel Consulting (My other life: http://damonostrander.com ) |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|