OK, I opened Excel, typed "1" then hit alt-enter, and then typed a "2".
I then saved the document as html, and this was the table it produced:

<table x:str border=0 cellpadding=0 cellspacing=0 width=64
style='border-collapse:
 collapse;table-layout:fixed;width:48pt'>
 <col width=64 style='width:48pt'>
 <tr height=34 style='height:25.5pt'>
  <td height=34 class=xl24 width=64
style='height:25.5pt;width:48pt'>1<br>
    2</td>
 </tr>
 <![if supportMisalignedColumns]>
 <tr height=0 style='display:none'>
  <td width=64 style='width:48pt'></td>
 </tr>
 <![endif]>
</table>

You can see that it entered a "<br>" to denote the new line.

Then I saved it as a CSV file, and this was the result:

"1
2"

As you can see, it wrapped the cell contents in double quotes, and
simply put in a line break and cartridge return. A double quote in your
value would be escaped as "".

Now, I don't know if the HTML break will work for you, or if you are
doing more of a csv thing, but it is food for thought I guess.

~Brad

-----Original Message-----
From: Turetsky, Seth [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 12:27 PM
To: CF-Talk
Subject: RE: chr(10) in excel

I think that is to drop to the next cell, but I just want a break in the
cell(alt-enter in excel)


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237442
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to