Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Character display problem importing into Excel

Hi

I am trying to import data into excel from an ASP.Net page and everything is
working except for when text in a column contains é character. When the data
is imported into Excel it comes up as é instead.

In the code I am formating the cells as text using the following code:

<style.text { mso-number-format:\@; } </style

Anyone any idea what the problem could be? Or can I provide any more
information to help with a solution?

Thanks

Brendan
______________________________________________
Rate your experiences with your UK and Ireland builders at
http://www.ratethebuilder.co.uk
=========================================


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Character display problem importing into Excel


It appears that what you want is ASCII code 233 to display but are
gettig ASCII code 227 + 169. Not sure why yet but am giving it some
more though.


--
grahammal
------------------------------------------------------------------------
grahammal's Profile: http://www.excelforum.com/member.php...o&userid=20336
View this thread: http://www.excelforum.com/showthread...hreadid=564612

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Character display problem importing into Excel

Hi

Managed to solve the problem by adding the following line to my code:

Response.ContentEncoding = System.Text.Encoding.UTF7;
Cheers

Brendan
______________________________________________
Rate your experiences with your UK and Ireland builders at
http://www.ratethebuilder.co.uk
=========================================



"RateTheBuilder" wrote in message
...
Hi

I am trying to import data into excel from an ASP.Net page and everything
is working except for when text in a column contains é character. When the
data is imported into Excel it comes up as é instead.

In the code I am formating the cells as text using the following code:

<style.text { mso-number-format:\@; } </style

Anyone any idea what the problem could be? Or can I provide any more
information to help with a solution?

Thanks

Brendan
______________________________________________
Rate your experiences with your UK and Ireland builders at
http://www.ratethebuilder.co.uk
=========================================



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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
strange problem with links updates in excel [email protected] Excel Discussion (Misc queries) 1 April 23rd 06 10:59 AM
When running a SAP report Excel will only display results if Excel isn't already open peternoy Excel Discussion (Misc queries) 0 January 19th 06 11:03 AM
Urgent Help Required on Excel Macro Problem Sachin Shah Excel Discussion (Misc queries) 1 August 17th 05 06:26 AM
Display form from an VB application in Excel kuhni Excel Discussion (Misc queries) 0 August 10th 05 06:04 PM


All times are GMT +1. The time now is 11:12 AM.

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"