Excel 宏出现问题(可能是编码?)
我们在办公室设置了 Excel 表格系统,我们一起共享和编辑(6 台计算机),有一天,其中一台计算机开始出现宏问题。名称字母带有变音符号的宏已重命名,就像编码已更改但仅在一台计算机上一样,其他计算机可以正常工作。它还在宏名称之前添加了文件名。怎么解决这个问题呢?谢谢
We have in our office setted system in excel sheet, which we share and editing all together (6 computers) and one day from middle of nowhere, one of the computers starts to have troubles with macros. Macros which have in name letter with diacritics renamed, like if the encoding was changed but its just on one computer, others work fine. Also it added name of the file beffore the macro name. How to solve this? Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最简单的解决方法是重命名它们,并且除了英文字符之外不使用任何奇怪的字符。任何其他字符都可能导致问题,具体取决于使用它的计算机的区域设置。
因此,如果在不同的计算机上使用不同的区域设置:请勿在 VBA 编辑器中使用外来字符,否则可能会遇到此类问题。
要解决您的问题:
另请参阅 如何在 Excel VBE 中显示外来字符
Easiest workaround way is to rename them and not use any odd characters besides english ones. Any other characters can cause issues depending on the region settings of the computer using it.
So if using different region settings on different computers: Do not use foreign characters in your VBA editor, or you can run into such issues.
To solve your issue:
Also see How To Display Foreign Characters In Excel VBE