Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default 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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default 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
  #3   Report Post  
Junior Member
 
Posts: 2
Default

Thanks Claus. Sometimes the obvious escapes me.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Carriage return in same cell without using alt-enter charlie54933 Excel Worksheet Functions 11 February 1st 10 12:33 AM
Text String (Edit w/Carriage Return) lightjag Excel Programming 3 March 22nd 09 09:52 PM
Alt+enter to carriage return within a cell does not work...? CM5 Excel Discussion (Misc queries) 2 August 31st 06 04:06 PM
Carriage Return / ALT-Enter in Textbox control sebastienm Excel Programming 0 July 24th 04 07:45 AM
Carriage Return / ALT-Enter in Textbox control Dick Kusleika[_3_] Excel Programming 0 July 23rd 04 05:29 PM


All times are GMT +1. The time now is 04:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"