#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 683
Default Hard CR in a Cell

I am unable to locate information on how to put a Carriage Return (CR) in a
cell.
I am attempting to type a partial line, then place a CR to start a new line
within the same cell. I have been unable to find any information on
resolving this issue. The only way so far to solve this issue is to create
the data in word, cut/paste in back into the cell. This is a round-about way
to do things. Any ideas on how to resolve this issue??
--
Brian
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 903
Default Hard CR in a Cell

Hi Brian,
Actually you use LF (Line Feed) in Excel.
In a worksheet function it is CHAR(10) in a concatenation
and in VBA it is CHR(10) or xlLF

="line 1" & Char(10) & "line 2" & " more for line 2"

---
HTH,
David McRitchie, Microsoft MVP - Excel
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Brian" wrote in message ...
I am unable to locate information on how to put a Carriage Return (CR) in a
cell.
I am attempting to type a partial line, then place a CR to start a new line
within the same cell. I have been unable to find any information on
resolving this issue. The only way so far to solve this issue is to create
the data in word, cut/paste in back into the cell. This is a round-about way
to do things. Any ideas on how to resolve this issue??
--
Brian



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 34
Default Hard CR in a Cell

Brian,
If you're physically typing in a cell, you can use Alt+Enter and it will
give you a new line instead of moving you to the next row down.

Alicia

"Brian" wrote:

I am unable to locate information on how to put a Carriage Return (CR) in a
cell.
I am attempting to type a partial line, then place a CR to start a new line
within the same cell. I have been unable to find any information on
resolving this issue. The only way so far to solve this issue is to create
the data in word, cut/paste in back into the cell. This is a round-about way
to do things. Any ideas on how to resolve this issue??
--
Brian

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
Sumproduct issues SteveDB1 Excel Worksheet Functions 25 June 3rd 09 04:58 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Instead of a negative number, I'd like to show zero... Dr. Darrell Excel Worksheet Functions 6 December 7th 05 08:21 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 03:12 PM.

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

About Us

"It's about Microsoft Excel"