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: 108
Default finding where text wraps in a textbox

I have text inputted in a textbox on a form. The text wraps in the textbox.
Code then places the text string from the textbox into a cell on a worksheet.
I turn off wrap text in the cell to keep the row height from changing (the
text never gets looked at in the cell). Other code takes the text string
from the cell and displays it a list box (which I find does not have the
ability to deal with text wrapping). If I make the user use alt-enter to
enter multiline text in the original textbox I can with code find the line
feeds (chr(10)) and put the text string in multiple lines in the listbox. Is
there a way to accomplish all this without requiring alt-enter when typing
text into the textbox. Or another way to say this is there a way to find
where text wraps in a textbox when alt-enter is not used.
--
russ
 
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
Row Height-expand if text wraps in a cell Selah West Excel Programming 12 August 20th 09 10:52 PM
Row Height-expand if text wraps in a cell Selah West Excel Programming 0 August 20th 09 06:47 PM
Row Height-expand if text wraps in a cell Penny Miller Excel Worksheet Functions 3 June 24th 09 11:05 PM
Text import with line wraps HKAPGMR Excel Discussion (Misc queries) 2 March 11th 09 12:31 AM
Not all text wraps in a cell containing large amount of text Kris Excel Discussion (Misc queries) 3 December 23rd 05 04:25 PM


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