创建表格
<h1>功能</h1>
<p>从指定工作表中指定范围创建表格对象。</p>
<h1><strong>目标</strong></h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>范围</td>
<td>【字符串】要在其中创建表格的范围。</td>
<td>'B1:D5'</td>
</tr>
<tr>
<td>表格名称</td>
<td>【字符串】要创建的表格的名称。</td>
<td>'数据测试表1'</td>
</tr>
</tbody>
</table>
<h1><strong>输入</strong></h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>工作表名称</td>
<td>【字符串】工作簿中的工作表名称。</td>
<td>'Sheet3'</td>
</tr>
</tbody>
</table>
<h1><strong>注意/说明</strong></h1>
<p>1、新建表格的第一行为表头,如原有值会被去除。
2、如所填的‘B1:D5’ 范围,指的是表格的范围,不包含表头。
3、如果在同一个页签中新建多个表格,则表格的名称不能相同。</p>
<h1>相关函数</h1>
<p>无</p>
<h1><strong>示例/演示</strong></h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/e4112e132521ae5e4ad077ef5bfe78b7" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/fba6d7d338a9fb0eb9056677cb4941cc" title="[组件[创建表格]_20210219.db">组件[创建表格]_20210219.db</a></p>