脚本向导-帮助文档

脚本向导-帮助文档


调用Com方法

<h1>功能</h1> <p>通过指定的接口调用Com方法。</p> <h1>输入</h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>对象</td> <td>【Variant】,传入对象的变量</td> <td>xWorkBooks</td> </tr> <tr> <td>方法名称</td> <td>【Expression】,填入要调用的方法的名称。</td> <td>Open</td> </tr> <tr> <td>参数</td> <td>【array of Variant】</td> <td>['F:\11.xlsx']</td> </tr> </tbody> </table> <h1>输出</h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>结果</td> <td>【Variant】指调用方法的结果。</td> <td>xBook</td> </tr> </tbody> </table> <h1>注意/说明</h1> <p>1.调用Com方法函数,要和“创建Com对象”、“获取Com属性”搭配使用。使用操作步骤如下: <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/02a778e9f4529ab402583492b387e1ef" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/2757caabf6a5dd9a3a3a9cfe376b94d8" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/03afb9df54e55a1a1ed6e9888ca9b82f" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/8b2865c6c71ccb6491d23e5fa17686ed" alt="" /></p> <h1>相关函数</h1> <p>创建Com对象、获取Com属性</p> <h1>示例/演示</h1> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/facbefef010640c1626d634c7a16d468" alt="" /></p> <h1>示例附件</h1> <p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/74fd9ce9e1608831d61c70454e00842d" title="[组件[调用Com方法]_20210428.db">组件[调用Com方法]_20210428.db</a></p>

页面列表

ITEM_HTML