Once you have done this => click in the formula bar and then click anywhere in the spreadsheet it appears in the cell correctly.
If you then close the spread sheet and open it is the formatting then correct or do you need to click in the formula bar again ? -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Paul Newton Sent: Friday, 13 September 2013 10:25 PM To: [email protected] Subject: Strange Excel behaviour Hi all I am using automation to populate cells in Excel. Some of the text in the cells consists of two lines, e.g. "Fred" + CHR(10) + CHR(13) + "Flintstone". When I open the spreadsheet it appears in the cell as "FredFlintstone" but it shows as two lines in the formula bar. If I click in the formula bar and then click anywhere in the spreadsheet it appears in the cell correctly. Any ideas how to get around this? Many thanks Paul Newton [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

