문제

Is there a way to use Unicode paths/filenames in Word 2003 or higher VBA code?

It appears that Word supports Unicode path/filenames via its interactive dialogues, but when our VBA code tries to manipulate Unicode path/filenames exposed via Word properties, we get back strings with lots of question marks.

Is there something we need to do have Word VBA work in a Unicode mode?

도움이 되었습니까?

해결책

Oh, it's a real pain. I've been using this, which has been very helpful. There are ways to manually build this support directly in VBA. A couple of searches turned up things like this.

Note that this still won't help with the dialogs, etc. as they are set to the LocaleID of the OS (so if you change your OS display language to the local language, they should appear just fine).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top