Consulting

Results 1 to 6 of 6

Thread: Solved: How do you make text wrap in a textbox?

  1. #1
    VBAX Regular
    Joined
    Jan 2007
    Posts
    19
    Location

    Solved: How do you make text wrap in a textbox?

    This is probably very simple, but so am I!

    I have a textbox on a userform for users to enter notes into. When "lengthy" information is entered into the textbox the text is appearing on one line and stretching outside the box.

    I want it to drop to the below so it all appears in the box (with a vertical scroll bar if necessary).

    Please put me out of my misery - how do I make it do this?

    A VBA Newbie !!

  2. #2
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    In the properties for the textbox make sure wordwrap and multiline are true....
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  3. #3
    VBAX Tutor
    Joined
    Dec 2006
    Posts
    220
    Location
    Select the textbox and in properties set Multiline = True
    "Intellectual passion occurs at the intersection of fact and implication."

    SGB

  4. #4
    VBAX Tutor
    Joined
    Dec 2006
    Posts
    220
    Location
    Opps Sorry Lucas must have been posting at same time
    "Intellectual passion occurs at the intersection of fact and implication."

    SGB

  5. #5
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    The more the merrier Carl....no worries.
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  6. #6
    VBAX Regular
    Joined
    Jan 2007
    Posts
    19
    Location
    Thanks all. Thats the only one I didn't try!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •