LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default count lines of text in a cell

For Excel 2003, is there a way to determine the number of lines of text in a
cell (with wordwrap turned on? (Similar to LineCount for a textbox.)
I'm adding blocks of text to a cell, and--within limits--want to be able to
resize the cell so the whole block will be visible. The text may or may not
contain CR/LF characters, so there could be blank lines I'd like to have
displayed and included in the line count.
I'd prefer not to use autofit, so I can maintain a minimum rowheight, as
well as keeping from going over a maximum rowheight.
Thanks.
Bert

 
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
Allow spaces between lines of text within cell ELeigh Excel Discussion (Misc queries) 1 March 4th 09 07:14 PM
Multiple lines of text in a cell mcilwrk Excel Discussion (Misc queries) 3 April 21st 08 11:05 PM
Count the number of Lines in a "wrap text"-cell MichaelS_ Excel Discussion (Misc queries) 2 March 20th 06 08:15 AM
Text lines in a cell kboec Excel Discussion (Misc queries) 3 August 31st 05 08:26 AM
how many lines can be in wrap text within a cell? Pear Excel Worksheet Functions 1 December 27th 04 11:35 AM


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