自动填充范围
<h1>功能</h1>
<p>照Excel的"自动填充"功能,获取在规则范围内定义的公式,并填充到指定范围。(相当于手动拖动)</p>
<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>
<tr>
<td>源范围</td>
<td>【字符串】用作"自动填充"操作规则的范围</td>
<td>‘A1:A2’</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>‘A1:A10’</td>
</tr>
</tbody>
</table>
<h1><strong>注意/说明</strong></h1>
<p>填充范围,必须包括源范围在内,否则将会运行失败。</p>
<h1>相关函数</h1>
<p>无</p>
<h1><strong>示例/演示</strong></h1>
<p>运行前的效果图:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/a25aa215ce77993df62c6258c5f775e0" alt="" />
运行后的效果图:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/f821fc8ae1e345fbb5af38a7174c507c" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/8fd4fbff1862b6f4e5592b490c985c5d" title="[组件[自动填充范围]_20210218.db">组件[自动填充范围]_20210218.db</a></p>