View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Insert manual line break in formula

Char(10) refers to the ASCII code 10, which represents a line break or "line
feed". Consequently, putting the &Char(10)& in a string is the equivalent of
[Alt]+[Enter] in the string.

For a list of other ASCII codes...try this link:
http://www.neurophys.wisc.edu/www/comp/docs/ascii.html

Does that help?

***********
Regards,
Ron


"0-0 Wai Wai ^-^" wrote:



"Ron Coderre" ¦b¶l¥ó
¤¤¼¶¼g...
Try something like this:
="I am a "&A30&". You are a "&A31&". "&CHAR(10)&"However we don't "&A32&",
nor "&A33&". "&CHAR(10)&"Except that, we do "&A34&"."

Note: You'll need to set your cells to wrap text and set column widths.
FormatCellsAlignement Tab
Check: Wrap Text

Does that help?


It helps a lot although this solution is not perfect. :D
By the way, would you mind telling me what's the point of adding "CHAR(10)"?
I would like to understand why.
Thanks. :-)
..
..
..