Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2004
    Posts
    78

    Unanswered: Replace a character with a hard return

    Im using Excel 2002
    Is it possible to replace a special character (or a combination of mutable) with a hard return? (Alt Enter)

    Thanks

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    In VBA it should be possible
    Here's some pseudo code
    Code:
    Replace(theText, "//", Chr(13) & Chr(10))
    'Where // is our special character
    George
    Home | Blog

  3. #3
    Join Date
    Nov 2004
    Posts
    78
    Any way without VBA?
    Thanks

  4. #4
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Why not play with the above code outside of VBA?
    You may wish to look this up in the help files in Excel.
    Let us know how you get on!
    George
    Home | Blog

Posting Permissions

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