I need to insert lines in a cell, but I am unable to insert line breaks.
For example :
line1
line2
line3
With VBA code :
Ws.Cells(i, 2) = line1 & line2 & line3
I get :
line1 line2 line3
How can I resolve this issue?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Is this what you are trying?
or
EDIT: Inserted quotes as mentioned in my comments.