Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Excel 2003, Win XP
I have created a custom command button on a worksheet, with associated code. I have annotated the button with suitable text. How do I split the text, so that it occupies 2 lines (or even 3) instead of just 1. I have tried making the button taller, but it makes no difference. donwb |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Assuming a button from the Control Toolbox.
In design mode, right-click on the edge of button and "Properties" Make sure "WordWrap" is True Assuming button is from Forms Toolbar, simply hit ENTER key after each line you want. Gord Dibben MS Excel MVP On Sun, 20 Sep 2009 18:43:42 +0100, "donwb" wrote: Excel 2003, Win XP I have created a custom command button on a worksheet, with associated code. I have annotated the button with suitable text. How do I split the text, so that it occupies 2 lines (or even 3) instead of just 1. I have tried making the button taller, but it makes no difference. donwb |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Many thanks Gord.
That did it. donwb "Gord Dibben" <gorddibbATshawDOTca wrote in message ... Assuming a button from the Control Toolbox. In design mode, right-click on the edge of button and "Properties" Make sure "WordWrap" is True Assuming button is from Forms Toolbar, simply hit ENTER key after each line you want. Gord Dibben MS Excel MVP On Sun, 20 Sep 2009 18:43:42 +0100, "donwb" wrote: Excel 2003, Win XP I have created a custom command button on a worksheet, with associated code. I have annotated the button with suitable text. How do I split the text, so that it occupies 2 lines (or even 3) instead of just 1. I have tried making the button taller, but it makes no difference. donwb |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Assuming a button from the Control Toolbox.
In design mode, right-click on the edge of button and "Properties" Make sure "WordWrap" is True Just to follow up, you can force the "new lines" on a Control Toolbox CommandButton (instead of having to resize the width of the button in order to force word wrapping) as follows... While in Design Mode, select the CommandButton, right click it and select CommandButton Object/Edit from the popup menu that appears. This will put you inside the text of the CommandButton... place the cursor where you want a new line to appear and key in Ctrl+Enter. -- Rick (MVP - Excel) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to edit button | Excel Worksheet Functions | |||
edit & configure add button & code | Excel Discussion (Misc queries) | |||
2003 - 2007 custom macro and custom button restore. | Excel Discussion (Misc queries) | |||
Can't delete or edit control button | Excel Discussion (Misc queries) | |||
How to edit the size and make it bold of the Option Button text? | Excel Discussion (Misc queries) |