Results 1 to 4 of 4
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Carriage return in textbox not work correct!!! (2000)

    Have this global const:
    Global Const TESTO1 = "Prima di lanciare la macro di importazione verificare:" & vbCr & _
    "1)Di aver modificato le impostazione di stampa della Sessione Stampante di EXTRA come in figura." & vbCr & vbCr & _
    "Per modificare la Sessione:" & vbCr & "Selezionare >File> Impostazioni"

    and in initialize userform:
    Option Explicit
    Private Sub UserForm_Initialize()
    Me.TextBox1.Text = TESTO1
    End Sub


    why in textbox i dont have the natural effect of cr ???

  2. #2
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Carriage return in textbox not work correct!!! (2000)

    You need to set the textbox's MultiLine property to True for that to work.
    Regards,
    Rory

    Microsoft MVP - Excel

  3. #3
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Carriage return in textbox not work correct!!! (2000)

    Rory, Hans work now!
    Tks .

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Carriage return in textbox not work correct!!! (2000)

    Post deleted by HansV because it was incorrect

Posting Permissions

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