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: 2
Default Excel interpreting HTML and CR/LF

Hope this is the right newsgroup - just yell at me if not :

My ASP app allows users to save certain dynamic data as excel spreadsheets and the method I chose to accomplish this was to simply create an table in HTML with my data and tell the browser to use the excel mime type. Works great - even little functions like SUM that you can you inside Excel directly. My problem is there is a notes column in this dataset which contains line breaks for between paragraphs. When Excel interprets <br, <p, etc it automatically creates a new row. I need excel to honor those tags as it would if you were in the desktop application and used [alt] + [enter] to create a new line inside a single cell

Here's what I've tried so far
- vbscript's chr(10) and chr(13
- <br, <p
- wrapping my text inside <p text text </p tag
- "# & 1 0 ;" and "# & 1 3 ;" w/o space

How can I tell Excel to not break CR/LF chars into a new row, and just stick with the table structure I give it? Any leads are much appreciated.
 
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
Stop excel from processing HTML? IE paste raw html. nick Excel Discussion (Misc queries) 2 April 21st 23 05:12 PM
Interpreting Values mrsatroy Charts and Charting in Excel 2 May 27th 10 10:51 PM
How do I stop Excel from 'interpreting' my data? Saven Excel Discussion (Misc queries) 7 December 14th 09 09:50 PM
Excel is interpreting my TEXT... I wish it would not! Puddles Excel Discussion (Misc queries) 6 November 7th 07 05:16 PM
Excel ignores boot-time regional settings when interpreting a date [email protected] Excel Discussion (Misc queries) 2 November 4th 05 11:44 AM


All times are GMT +1. The time now is 07:39 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"