首页 > 解决方案 > Excel DNA XLL 配置 - 设置注释、描述和公司

问题描述

我看到在 ExcelDna.dna (config) 文件中,我可以设置 XLL 的“名称”,它转换为 Excel/Options/Addins 屏幕上的 TITLE。但我想知道是否有一种简单的方法来设置评论(描述)或公司名称。非常感谢。

标签: excelexcel-addinsexcel-dnaxll

解决方案


提示: 在 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 文件...


推荐阅读