excel - Excel DNA XLL 配置 - 设置注释、描述和公司
问题描述
我看到在 ExcelDna.dna (config) 文件中,我可以设置 XLL 的“名称”,它转换为 Excel/Options/Addins 屏幕上的 TITLE。但我想知道是否有一种简单的方法来设置评论(描述)或公司名称。非常感谢。
解决方案
提示: 在 VBA XLAM-Add-In-project 中,此信息位于“core.xml”(标签 <dc:description>)中,如下所示:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:dcmitype="http://purl.org/dc/dcmitype/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
<dc:title>Name of AddIns</dc:title>
<dc:creator>Mike Miller</dc:creator>
<cp:keywords>Core XML example</cp:keywords>
<dc:description>Description for demonstration</dc:description>
<cp:lastModifiedBy>Miller, Mike</cp:lastModifiedBy>
<dcterms:created xsi:type="dcterms:W3CDTF">2013-01-25T07:58:19Z</dcterms:created>
<dcterms:modified xsi:type="dcterms:W3CDTF">2020-09-29T13:06:15Z</dcterms:modified>
</cp:coreProperties>
可以通过将 *.xlam 文件重命名为 *.zip 来访问 core.xml。这个 zip-archive 包含几个 xml 文件...
推荐阅读
- java - 如何在不禁止谷歌的情况下搜索关键字?
- twitter-bootstrap - 带有文本和图标的 Bootstrap4 按钮
- iis - Windows Server 2012 R2 上不寻常的多网站设置
- android - 更改所有 TextInputLayout 的样式(在主题中)
- dart - 如何在 Flutter 上持续检查互联网连接与否?
- c# - 强制实体框架遵循数据库中定义的约束
- java - Android Studio 导致应用程序接收到致命信号 6 (SIGABRT),代码 -6 (SI_TKILL)
- sql-server - 关于登录如何访问 sp_helpuser 存储过程的 T-SQL 查询
- python - 如何检查存储桶是否使用 boto3 设置了生命周期配置?
- nltk - 清理标记化数据时,如何在列表列表中使用 .isalpha() 来返回值,而不是布尔值?