Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Diem Tran   on Nov 27 In MS Office Category.

  
Question Answered By: Iqbal Bashara   on Nov 27

If you have a string s, you could use:

s = Replace(s, vbCrLf, vbNullString)

or perhaps

s = Replace(s, vbCr, vbNullString)

depending on your source text.

vbNullString is the same as “”.

Share: 

 
 
Didn't find what you were looking for? Find more on Remove Carriage Returns Or get search suggestion and latest updates.


Tagged: