Excel 2003 中的工具栏问题

发布于 2024-08-18 04:53:39 字数 301 浏览 3 评论 0原文

我在 Visual Studio 2008 for Excel 2003 中构建了一个非常简单的 Excel Addin,它创建了一个带有一些按钮的工具栏。

当我调试它时,系统格式设置为“英语(美国)”,它工作得很好,没有问题。

但是,此插件也将在系统格式设置为“法语(法国)”的情况下使用,当我尝试在此配置下调试我的插件时,不会显示工具栏(由插件创建)。

在调试时,我可以看到创建工具栏的方法已执行,并且代码返回正常,但我在 Excel 中看不到任何内容,如果我将格式切换回英语,它会再次工作。

有谁知道这可能是什么原因?

I have a very simple Excel Addin build it in Visual Studio 2008 for Excel 2003, which creates a toolbar with some buttons.

When I debug it, with System Format set to "English (United States)" it works great, without problems.

However, this addin is going to be used with System Format set to "French (France)" too, and when I try to debug my addin under this configuration, the toolbar (which is created by the addin) is not being shown.

While I'm debugging I can see that the methods that create the toolbar are executed and the code returns fine, yet I can't see anything in Excel, and if I switch back the format to English it works again.

Does anyone know which could be the reason?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

蓝海 2024-08-25 04:53:39

我为 Excel 2000 构建的加载项也遇到了类似的问题。虽然工具栏会显示,但工具栏上什么也没有。我能够通过下载解决该问题
Office 多语言包 2003。

这里有一个链接,假设您还没有安装它,那么可能值得一试。
http://office.microsoft.com/en-us/ork2003/HA011402201033。 ASPX

I had a similar problem with an add-in that I built for Excel 2000. Although the tool bar would show, nothing was on the toolbar. I was able to correct the issue by downloading the
office multilanguage pack 2003.

Here is a link to it, assuming you do not already have this installed it may be worth a shot.
http://office.microsoft.com/en-us/ork2003/HA011402201033.aspx

成熟稳重的好男人 2024-08-25 04:53:39

最后,存在与小数点分隔符相关的问题,该分隔符针对法语进行了更改,并且我在代码中进行了验证,我在调试时错过了该部分,无论如何感谢您的答案。

In the end, there was a problem related with the decimal separator, which changes for French language, and a validation that I was doing in my code, I missed that part when debugging, thanks for the answers anyway.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文