gpt4 book ai didi

vba - 我如何找到 f3dynamics 库?

转载 作者:行者123 更新时间:2023-12-04 19:51:20 26 4
gpt4 key购买 nike

我在一台机器上有一个工作簿,其中包含一个与 f3dynamics 库一起使用的宏,它没有列在引用框中。我到处查找,找不到 F3dynamics 库。

我需要将它移到另一台机器上以便宏在新机器上运行,我已经在新机器上安装了 office 2003、2007、2010,但这些版本无法正常工作,

是否有任何宏列出所有引用,包括这个“隐藏”引用?

最佳答案

根据这个:https://www.mrexcel.com/forum/excel-questions/169832-object-code-error.html#post1915439

There is an "AboutBox" method associated with the calendar control that is part of the f3dynamic library. I called this method in code on a machine that has no problems with this issue and it read "Microsoft Office Access Calendar Control version 11.0". **The machines I don't have this problem on of course have Access on them and the ones I have this problem on don't****.

In short, it's an Access library and that is why you can't find it on your machines that don't have Access. It also explains why it isn't coming up in the References listing in Excel; it isn't marked to be available in Excel since it's an Access library. Nonetheless, it is a COM-compliant object and so it still works in Excel.

...

I did some sleuthing and found that the culprit (if you can call it that) is the mscal.ocx control found both in c:\windows\system32 and in C:\Program Files\Microsoft Office\Office10. That is what gets installed with Access and then allows access to that mysterious "F3Dynamic" library, which I still can't get a good look into via the Object Browser.

关于vba - 我如何找到 f3dynamics 库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25316922/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com