gpt4 book ai didi

excel - EXCEL VBA : Listview object feature not found when exporting XLAM file to another machine

转载 作者:行者123 更新时间:2023-12-02 11:01:23 26 4
gpt4 key购买 nike

编写快速功能以帮助我的同事。使用工具->其他控件-> Microsoft Listview中的ListView对象。

当我将文件导出为加密的加载项即.Xlam文件时。我收到以下错误

Compile error:
Object Library feature not supported
Ok HELP

像往常一样,MS帮助是无用的。我打开了代码,发现该过程中丢失了 Listview 对象。相同的Office规范(2010),几乎相同的PC安装镜像。

有任何想法吗?

最佳答案

首先,请导航至“工具/引用”,然后查找旁边带有“[缺少]”的库。两台计算机之间可能没有此控件的DLL版本(对于Microsoft Forms 2.0对象库)。

其次,尝试重新链接OLE自动化,如here所述:
enter image description here

  • 导航到“工具/引用”。
  • 取消选中“OLE自动化”。
  • 单击确定。
  • 再次导航到“引用”,然后检查“OLE Automation”。
  • 单击确定。
  • 关于excel - EXCEL VBA : Listview object feature not found when exporting XLAM file to another machine,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39118279/

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