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

    prob with vbcr vblf (2000 sr-1)

    why with this piece of code have a little squared, instead the simple carriage return?

    Intestatari_Cassetta = XDB.Range("J" + CStr(W)).Value
    Intestatari_Cassetta = Intestatari_Cassetta + vbCr + vbLf + Trim(Mid(Current_Record, 23, 42))
    XDB.Range("J" + CStr(W)).Value = Intestatari_Cassetta

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

    Re: prob with vbcr vblf (2000 sr-1)

    In Excel, you should use only vbLf to insert a line break in a cell:

    Intestatari_Cassetta = Intestatari_Cassetta & vbLf & Trim(Mid(Current_Record, 23, 42))

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

    Re: prob with vbcr vblf (2000 sr-1)

    wow!!!!
    Tks.

Posting Permissions

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