设置Com属性
<h1>功能</h1>
<p>设置指定属性的属性值。</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>True</td>
</tr>
</tbody>
</table>
<h1>注意/说明</h1>
<p>“设置Com属性”函数要与“创建Com对象”函数搭配使用。</p>
<h1>相关函数</h1>
<p>创建Com对象</p>
<h1>示例/演示</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/c78a157b7a97178317b5e7490b9bde48" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/f385c3375fcb25cf3e36ff9b54838464" title="[组件[设置Com属性]_20210430.db">组件[设置Com属性]_20210430.db</a></p>