Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default limiting rows in a text box?

accidentally posted question in Worksheet Functions area.

Is there a way to user multi-line in a control textbox (in the worksheet,
not a form), but limit to a certain number of lines. Say if the entry should
only be allowed to be 5 lines...

There's a character limit, but not all characters are the same size, and not
all lines are necessarily fully used, etc. The user doesn't want the area to
resize, but doese want to limit so that text cannot be entered after the
visual limit is reached.

So I was thinking of using the keydown event in the textbox to control all
this.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default limiting rows in a text box?

got it.

LineCount property.

don't know why I didn't see it early.

see ya.

"mark" wrote:

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
Limiting text length patsy Excel Discussion (Misc queries) 4 February 15th 09 08:36 PM
limiting rows of text in a textbox object? mark Excel Worksheet Functions 1 May 19th 06 08:06 PM
Limiting Characters In Rows Mdlee Excel Discussion (Misc queries) 1 May 16th 06 04:53 AM
Limiting physical length of text in a text box control XL2Know Excel Discussion (Misc queries) 1 October 6th 05 01:55 PM
Limiting text Sheldon Excel Programming 2 November 2nd 04 04:41 PM


All times are GMT +1. The time now is 03:44 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"