LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to get NewLine in a cell?

This doesn't seem to work on a Mac. I'm wondering if the character set is
different. Should I be using CHAR(something_else)?

"Gary''s Student" wrote:

Turn on text wrapping to make the Char(10) appear correctly.
--
Gary's Student


"Ake" wrote:

When inputting data into a cell I can Alt-Return to force a new line in that
cell.
Checking what code gets entered I see that it is Char(10). (Btw, the "Char"
is my guess from a Swedish system, but you know what it is in English).

Anyhow writing ="A" & Char(10) & "B" results in an "unknown" character to be
shown between A and B, not a NewLine.

And, in fact writing =A1 in a cell, where A1 refers to a cell where "A"
NewLine "B" has been entered manually results in the same output (A "unknown"
B).

Is there a way to combine the contents of two cells into subsequent lines in
one cell? (preferably without using a macro).

Kind regards / Ake

 
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
Insert newline in cell through formula (excel 2003) Bart Wouters Excel Worksheet Functions 2 July 23rd 07 04:04 PM
Add Newline(s) in a Cell Emily[_3_] Excel Programming 2 September 6th 06 04:26 AM
Add Newline(s) inside a Cell Without Splitting Content into Different Cells Emily[_3_] Excel Programming 1 September 5th 06 11:31 PM
Add a Newline in a Cell Emily[_3_] Excel Programming 0 September 5th 06 09:42 PM
Returning newline from a function to a cell Dave Dixson Excel Programming 2 August 22nd 06 01:19 PM


All times are GMT +1. The time now is 10:39 AM.

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"