Results 1 to 4 of 4

TextBox First Line Activation

Threaded View

  1. #1
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    TextBox First Line Activation

    Hi Friends

    I have a procedure that concatenates strings into one text box with new line. When TextBox pop-ups it shows me the last line. Is it possible to make it visible from first line

    My code:

    Sub ConcTexts()
    
    For Each r In Range("A1").CurrentRegion
        n = n & r & vbNewLine
    Next r
    
    frmTextBoxxx.txtConc.MultiLine = True
    frmTextBoxxx.txtConc.WordWrap = True
    frmTextBoxxx.txtConc.Value = n
    
    frmTextBoxxx.Show
    
    End Sub
    Attached file for further analysis. Also screenshot-ed the desired result

    Thank you in advance
    Attached Files Attached Files
    Appreciate the help? CLICK *

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. MultiLine TextBox line count to display in label or textbox
    By khhoa in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-10-2015, 06:02 PM
  2. [SOLVED] MultiLine Textbox to auto remove blank line, count line, remove duplicate
    By khhoa in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-24-2015, 09:28 PM
  3. Adding Line and Text 2 Textbox
    By mehyo27 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-14-2009, 06:59 PM
  4. New line after comma in textbox
    By Directlinq in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-06-2009, 09:47 AM
  5. Minimise/maximise Modeless Userform on activation/de-activation
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-28-2009, 11:24 PM
  6. Textbox - add a new line
    By johncassell in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-07-2008, 09:09 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1