Consulting

Results 1 to 3 of 3

Thread: Solved: Textbox always displays end instead of start

  1. #1
    VBAX Mentor tpoynton's Avatar
    Joined
    Feb 2005
    Location
    Clinton, MA
    Posts
    399
    Location

    Solved: Textbox always displays end instead of start

    Greetings - this has been driving me batty!


    I've got a form with a multiline textbox and scrollbar. I'd like the text at the top to display first, but it always shows text at the bottom of the textbox first, upon userform activation. No amount of my fiddling has been able to change this odd behavior...

    I've attached a sample workbook so you can see what I mean.

    Excel 2003 if that makes a difference...THANKS! tim
    Last edited by tpoynton; 07-28-2007 at 07:10 PM.

  2. #2
    VBAX Mentor tpoynton's Avatar
    Joined
    Feb 2005
    Location
    Clinton, MA
    Posts
    399
    Location
    OK, I've spent two hours trying to figure this out, then finally do just a few minutes after posting...

    TextBox1.SelStart = 0

  3. #3
    Moderator VBAX Master geekgirlau's Avatar
    Joined
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,464
    Location
    Ahh, but this way you'll remember how to do it next time!

Posting Permissions

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