How do I change the culture from within Excel VBA

ぐ巨炮叔叔 提交于 2020-01-15 11:47:16

问题


I have an excel workbook that uses VBA. This VBA works fine except when it is executed on a clients laptop configured with Japanese language settings. I know in VB.NET that I would need to flip the Culture to EN-US and then flip it back when I'm done with the VBA but I can't for the life of me figure out how to get this solution to work in VBA. Is this possible? How so?

-Thanks


回答1:


I don't think you can do this using just VBA: all the Application.Interrnational settings are read-only. Usually the international problem is the other way round - VBA works in US-English.

What lines of code are giving you the problem in Japanese language settings?



来源:https://stackoverflow.com/questions/7923648/how-do-i-change-the-culture-from-within-excel-vba

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!