Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 293
Default Word Wrap In UserForm TextBox

Greetings,

I have a couple of TextBoxes being used as memo fields. I don't want
the text to wrap when I copy the contents to a cell on the worksheet.
I would however, like to see the text inside of the TextBox wrap at
the border of the TextBox.

I have WordWrap turned on in the properties box for the TextBox, but
it doesn't seem to make any difference.

Short of manually inserting Chr(10)'s at the break points of the text,
is there anyway to get the text to word wrap inside of the TextBox?

Anyone have any ideas or suggestions?

Any help will be appreciated.

-Minitman
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Word Wrap In UserForm TextBox

Set both the TextBox's MultiLine and WordWrap properties to True

Regards,
Peter T

"Minitman" wrote in message
...
Greetings,

I have a couple of TextBoxes being used as memo fields. I don't want
the text to wrap when I copy the contents to a cell on the worksheet.
I would however, like to see the text inside of the TextBox wrap at
the border of the TextBox.

I have WordWrap turned on in the properties box for the TextBox, but
it doesn't seem to make any difference.

Short of manually inserting Chr(10)'s at the break points of the text,
is there anyway to get the text to word wrap inside of the TextBox?

Anyone have any ideas or suggestions?

Any help will be appreciated.

-Minitman



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 293
Default Word Wrap In UserForm TextBox

Hey Peter,

That works perfectly, thank you.

-Minitman



On Mon, 30 Jun 2008 07:46:41 +0100, "Peter T" <peter_t@discussions
wrote:

Set both the TextBox's MultiLine and WordWrap properties to True

Regards,
Peter T

"Minitman" wrote in message
.. .
Greetings,

I have a couple of TextBoxes being used as memo fields. I don't want
the text to wrap when I copy the contents to a cell on the worksheet.
I would however, like to see the text inside of the TextBox wrap at
the border of the TextBox.

I have WordWrap turned on in the properties box for the TextBox, but
it doesn't seem to make any difference.

Short of manually inserting Chr(10)'s at the break points of the text,
is there anyway to get the text to word wrap inside of the TextBox?

Anyone have any ideas or suggestions?

Any help will be appreciated.

-Minitman



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default Word Wrap In UserForm TextBox

On Jun 30, 9:06*am, Minitman wrote:
Greetings,

I have a couple of TextBoxes being used as memo fields. *I don't want
the text to wrap when I copy the contents to a cell on the worksheet.
I would however, like to see the text inside of the TextBox wrap at
the border of the TextBox.

I have WordWrap turned on in the properties box for the TextBox, but
it doesn't seem to make any difference.

Short of manually inserting Chr(10)'s at the break points of the text,
is there anyway to get the text to word wrap inside of the TextBox?

Anyone have any ideas or suggestions?

Any help will be appreciated.

-Minitman


Hi,

also you need to change InterKeyBehaviour textbox property to TRUE
then you can user textbox as a memo shape

regards.

shahzad
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 293
Default Word Wrap In UserForm TextBox

Hey Shazi,

Thanks for the reply.

I'm not sure what the "InterKeyBehaviour textbox property" is, it's
not in the TextBox properties box.

For what I am trying to do, Peter's solution appears to be all that is
needed.

I am a bit confused as to what a "memo shape" is and why I would want
one.

Could you explain?

-Minitman


On Mon, 30 Jun 2008 00:11:44 -0700 (PDT), Shazi
wrote:

On Jun 30, 9:06*am, Minitman wrote:
Greetings,

I have a couple of TextBoxes being used as memo fields. *I don't want
the text to wrap when I copy the contents to a cell on the worksheet.
I would however, like to see the text inside of the TextBox wrap at
the border of the TextBox.

I have WordWrap turned on in the properties box for the TextBox, but
it doesn't seem to make any difference.

Short of manually inserting Chr(10)'s at the break points of the text,
is there anyway to get the text to word wrap inside of the TextBox?

Anyone have any ideas or suggestions?

Any help will be appreciated.

-Minitman


Hi,

also you need to change InterKeyBehaviour textbox property to TRUE
then you can user textbox as a memo shape

regards.

shahzad




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
Copy from Word to Excel, and retain indent, plus word wrap Eric Excel Discussion (Misc queries) 1 March 9th 07 03:15 AM
no word wrap in userform textbox?? lcoreyl[_19_] Excel Programming 1 July 24th 05 04:19 AM
form textbox wont word wrap Rob Hargreaves[_2_] Excel Programming 1 June 11th 05 12:55 PM
.Textbox won't word wrap. Why? John Wirt Excel Programming 3 August 20th 04 10:11 PM
UserForm TextBox to ActiveSheet TextBox over 256 characters Dan E[_2_] Excel Programming 1 July 28th 03 07:36 PM


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