Displaying Japanese text in the Immediate Window of Excel VBA

后端 未结 1 1375
离开以前
离开以前 2021-01-22 01:47

In Excel 2010, I have a worksheet containing Japanese text. There is no problem editing, or displaying this. When I grab the value of a cell containing Japanese and use Debug.Pr

1条回答
  •  死守一世寂寞
    2021-01-22 02:24

    The VBA development environment depends on the Windows "system locale" setting to tell it what character set to use. I got it to work using

    • Windows Vista (English)
    • Excel 2010 (English)

    by going into the "Regional and Language Options" section of the Windows Control Panel and setting the system locale to "Japanese (Japan)"

    jpLocale.png

    After my system rebooted I could see Japanese characters in the VBA Immediate Window:

    jpVBA.png

    0 讨论(0)
提交回复
热议问题