Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 81
Default Ho to edit text in a custom button

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Ho to edit text in a custom button

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 81
Default Ho to edit text in a custom button

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Ho to edit text in a custom button

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to edit button tkincaid Excel Worksheet Functions 2 January 7th 09 12:45 PM
edit & configure add button & code [email protected] uk Excel Discussion (Misc queries) 1 November 23rd 08 08:28 PM
2003 - 2007 custom macro and custom button restore. Scott Sornberger Excel Discussion (Misc queries) 11 May 23rd 08 02:41 PM
Can't delete or edit control button Steve Excel Discussion (Misc queries) 1 July 15th 05 08:39 PM
How to edit the size and make it bold of the Option Button text? Cammie Excel Discussion (Misc queries) 1 February 23rd 05 01:57 AM


All times are GMT +1. The time now is 07:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"