简体   繁体   中英

How to insert Japanese character to ECC from Excel vba

I can see the Japanese text in the Excel cells. I've got the VBA code to update ECC . It does the INSERT in the ECC , but Japanese characters are simply represented as ???? .

Any help would be appreciated.

You need MS Excel Japanese Language Pack to display Japanese characters.

If you are importing text into Excel, you need to set the following. .TextFilePlatform = 850 http://www.ozgrid.com/forum/showthread.php?t=141269

Sorry, feels like it's been quite a time since the question was raised.
But still I'd like to propose a solution: Using unicode encoding to represent different language: Sheet1.Cells(2, 1) = ChrW(&H3091) , which is standing for character .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM