Visual Basic 6 将特殊波兰语字符导出到 Excel

Visual Basic 6 export special Polish characters to Excel

我在将数据从 VB6 程序导出到 Excel 时遇到了问题。我无法获得波兰语特殊字母 ś ń ć ź ż ą ę。相反,我得到了奇怪的符号。我尝试使用 chr() 函数,但 0-255 种可能性的 none 给了我我需要的东西。 这个问题怎么解决?

试试这个:

Range("A1") = ChrW(378)

以下是其他波兰语字符的 Unicode 编号:http://character-code.com/polish-html-codes.php