脚本向导-帮助文档

脚本向导-帮助文档


获取Com属性

<h1>功能</h1> <p>通过指定的Com对象以及属性名称来获取Com属性。</p> <h1>输入</h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>对象</td> <td>【Variant】,传入对象的变量</td> <td>ExcelApp</td> </tr> <tr> <td>属性名称</td> <td>【Expression】填入获取的属性的名称。</td> <td>'WorkBooks'</td> </tr> <tr> <td>属性索引</td> <td>【Expression】填入获取的属性的索引</td> </tr> <tr> <td>结果</td> <td>【Variant】表示获取属性的结果。</td> <td>xWorkBooks</td> </tr> </tbody> </table> <h1>注意/说明</h1> <p>1.“获取Com属性”函数,要和&quot;创建Com对象&quot;函数搭配使用。操作步骤如下: <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/a505c97d7fc758a69a8d24162167aa56" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/1baf0c04c1efccaef4199d0ea2d9e5b8" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/c4a0208ce11dd93871b88122931af52c" alt="" /></p> <h1>相关函数</h1> <p>创建Com对象</p> <h1>示例/演示</h1> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/a8152f635c0a003928712afc3a4b9fe3" alt="" /></p> <h1>示例附件</h1> <p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/e0e0c2f378c13c664544c3ca4b6d64ab" title="[组件[获取Com属性]_20210430.db">组件[获取Com属性]_20210430.db</a></p>

页面列表

ITEM_HTML