Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default use a hard return in a text box

Hi all,

I have to input multi-line in a text box, and at the end of each line, I
want to press Return Key to change line instead of change focus to next
control. How can I do it?

Clara
--
thank you so much for your help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default use a hard return in a text box

Ctrl + Enter will enter a linebreak.
Or in the textbox set EnterKeyBehaviour to True.

RBS

"clara" wrote in message
...
Hi all,

I have to input multi-line in a text box, and at the end of each line, I
want to press Return Key to change line instead of change focus to next
control. How can I do it?

Clara
--
thank you so much for your help


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 857
Default use a hard return in a text box

Hi Clara,

Set the following properties of the textbox to TRUE:

MultiLine
EnterKeyBehavior



--

Hope that helps.

Vergel Adriano


"clara" wrote:

Hi all,

I have to input multi-line in a text box, and at the end of each line, I
want to press Return Key to change line instead of change focus to next
control. How can I do it?

Clara
--
thank you so much for your help

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
Hard return ttribble Excel Worksheet Functions 4 June 19th 07 04:33 AM
HARD RETURN IN A CELL Dave T Excel Discussion (Misc queries) 4 April 18th 07 03:14 AM
how to replace a hard return? go1angel Excel Programming 1 July 22nd 05 07:51 PM
hard return alphadog47 New Users to Excel 2 February 26th 05 08:38 PM
Msgbox text hard return Jo[_6_] Excel Programming 2 August 5th 04 12:01 AM


All times are GMT +1. The time now is 01:14 PM.

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"