ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Enter carriage return in Excel 2010 text string (https://www.excelbanter.com/excel-discussion-misc-queries/449661-enter-carriage-return-excel-2010-text-string.html)

LoydC

Enter carriage return in Excel 2010 text string
 
I am trying to input a text string with a carriage return or break so the second part shows on a separate line. Other threads have demonstrated the use of CHAR(10) but that is not working for me. Here is my code:
=K2&CHAR(10)&" "&TEXT(C2,"mm/dd/yyyy")&" @ "&D2

Anyone have any ideas what I need to change to get it to work properly?

Claus Busch

Enter carriage return in Excel 2010 text string
 
Hi,

Am Tue, 31 Dec 2013 14:37:41 +0000 schrieb LoydC:

=K2&CHAR(10)&" "&TEXT(C2,"mm/dd/yyyy")&" @ "&D2


right click in your cell = Format cells = Alignment = Wrap Text [x]

Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

LoydC

Thanks Claus. Sometimes the obvious escapes me.


All times are GMT +1. The time now is 12:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com