Consulting

Results 1 to 3 of 3

Thread: Solved: word wrap or new line

  1. #1
    VBAX Tutor
    Joined
    Feb 2006
    Posts
    295
    Location

    Solved: word wrap or new line

    hi,

    i have text in A1, where i want it to either wrap or
    new line(carriage return?) after every 58 characters.
    is this possible?

    if it is possible, then i would like the following:
    in cell b2, show the first 58 characters
    in cell b3, show the next 58 characters
    and so forth...


    thanks
    zach

  2. #2
    VBAX Expert
    Joined
    Jul 2004
    Location
    Wilmington, DE
    Posts
    600
    Location
    zach,

    In B2:
    =MID($A$1,58*(ROW(B1)-1)+1,58)

    Copy down as needed.
    Regards,

    Patrick

    I wept for myself because I had no PivotTable.

    Then I met a man who had no AutoFilter.

    Microsoft MVP for Excel, 2007 & 2008

  3. #3
    VBAX Tutor
    Joined
    Feb 2006
    Posts
    295
    Location
    hi Patrick,

    thanks for the solution for my 2nd question.


    zach

Posting Permissions

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