Prev Previous Post   Next Post Next
  #1   Report Post  
nellie
 
Posts: n/a
Default html to excel

Hello. I have an application that we export database data to an XML file.
We use an xsl style sheet to convert that to .html that the application or a
web page can use to display to the user. An option we allow for the users is
to convert the html document to excel for editing or converting to PDF. One
issue we have is that the document can contain text in the form of 05/12 or
0512 that we need to stay as text.

In the html document they are correct, however, excel turns them into dates
or numbers. I've tried putting the ' character in front of the string.
However, when excel gets the html, it puts it in (ex: '05/12) and doesn't
hide the ' character until the cell is clicked on and OKd (but this is not an
option as there are too many cells). I was wondering if there was some tag I
could put in the html document (via the style sheet) that would tell excel to
not format the numbers. Or if there was something I could put in the html
that would tell excel to turn off all formatting.

Excel 2002
Windows XP

Thanks. And if anyone needs more info let me know.

nellie.
 
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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Using freezed panes in excel, how do I save the page as HTML? Jaffa„˘ Excel Discussion (Misc queries) 1 January 21st 05 09:25 AM
Using Excel to analyze HTML GreggRoberts Excel Discussion (Misc queries) 2 January 1st 05 04:41 PM
HTML to Excel Billing Goddess Excel Discussion (Misc queries) 5 December 10th 04 05:11 PM
excel CSV is interpreted as HTML MikeDb Excel Discussion (Misc queries) 6 December 10th 04 10:35 AM


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