troubleshooting Question

Excel (2003/2007) : how to remove carriage return from cell

Avatar of Jay_Ratansi
Jay_Ratansi asked on
Microsoft AccessMicrosoft Excel
3 Comments1 Solution2159 ViewsLast Modified:
Hi

I'm extracting data from an accounting program which contains a multi-line field (=memo field in Access). Running an Access query & then export to Excel, I get following:

Excel2003 : the relevant cell shows text separated by square box the text again for line 2

Excel2007: doesn't show square box but displays the second line together with first line (without any space to separate).

In both cases, when exported to CSV, the second line text vanishes.

I've tried the following formula in excel  =SUBSTITUTE(A2,CHAR(13),"") suggested by http://www.techonthenet.com/excel/questions/remove_chars.php   but this doesn't resolve ie. when excel saves as csv, the second line content vanishes.

Appreciate help to resolve this either in Access (accounting data table is odbc linked to access)  or excel (access query is exported to excel).

Jay Ratansi



ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros