警告:自定义语言设置不可便携

并非所有语言设置都是可移植的。 此警告具有以下原因和解决方法:

  • You used a custom language setting in your code. When you choose a custom language/country setting for your code, the language conventions used in your code match those set in the Control Panel of your system. 使用自定义代码区域设置 ,但你的代码可能无法在其他区域设置或具有不同设置的其他系统上工作。 Thehost application parses some strings based on the Control Panel settings of the machine on which it is running. If the Control Panel settings on the target machine aren't the same as those on the machine on which the code was written, strings parsed by a host application don't work, for example, code that depends on a locale-specific decimal separator. Therefore, you should not use a custom language setting unless you don't intend to send your code to other users. If you plan to send your code to other users, select a predefined locale.

有关其他信息,选择有问题的项并按 F1(在 Windows 中)或 HELP(在 Macintosh 上)。

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。