Forum Discussion
shankar_r
7 years agoCommunity Hero
I googled and come with some sort of idea,
I hope you are doing ADODB to get data, you can try the following.
Edward Very many thanks for taking the time and solving this problem. I did not fully understand your description however my connection string sconnect = "Provider=MSDASQL.1;DSN=Excel Files;DBQ=" & SpreadSheetName & ";HDR=Yes';" read chinese characters as ????, whereas your connection string: sconnect = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source='" & SpreadSheetName & "';" & "Extended Properties=""Excel 12.0;HDR=YES;IMEX=1;"";" read them as 北京, ä¸å›½ (even in the VBA code) Thats a great result, thanks again.
- rajabe92097 years agoOccasional Contributor
Ho it was simple solution i when fectching the data i converted it to VarToString
but when i removed it is working
var Temp=VarToString(excelMainSheet_TestCase.Cells.Item(i,9));
Log.Message(Temp)Working fine
var Temp=(excelMainSheet_TestCase.Cells.Item(i,9));
Log.Message(Temp) - rajabe92097 years agoOccasional Contributor
nantri Shankar
Related Content
- 13 years ago
- 13 years ago
Recent Discussions
- 19 hours ago
- 19 hours ago
- 5 days ago