Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Use META tag to specify the charset on a HTML table, all cells are treated as text in Excel 2003

I am using Response.ContentType = "application/vnd.ms-excel" to export
a html table (actually it's a grid with headers and data) to excel. To
get the double byte header text (such as Chinese or Japanese) show up
correctly, I have to specify the charset in the html documentation by
using the META tag. <HEAD<META http-equiv="Content-Type"
content="text/html;charset=GB2312" /</HEAD

By doing that, all the cells in the html table are treated as text in
Excel 2003. As a result, the number format and the formula on the data
cells are messed up. Does anyone has seen this? Please share your
insight if you have a solution. Thanks in advance!

Reply
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
When is text treated as number? [email protected] Excel Discussion (Misc queries) 7 November 7th 08 05:17 AM
Pasted HTML Table Data Won't Convert From Text Eric Excel Discussion (Misc queries) 2 March 30th 07 03:36 PM
Copying Excel 2003 Selection into Outlook 2003 HTML E-Mail Message [email protected] Excel Discussion (Misc queries) 0 July 10th 06 03:07 PM
Formula Being treated as Text BBB Excel Worksheet Functions 2 September 20th 05 05:38 PM
Help: HTML Table not displaying full text Leif K-Brooks Excel Programming 3 November 13th 03 03:41 PM


All times are GMT +1. The time now is 12:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"