选择范围
<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>'A1:C3'</td>
</tr>
<tr>
<td>方向</td>
<td>【枚举】指定移动方向。</td>
<td>Down</td>
</tr>
<tr>
<td>工作表名称</td>
<td>【字符串】工作簿中的工作表名称。</td>
<td>‘sheet3’</td>
</tr>
</tbody>
</table>
<h1><strong>注意/说明</strong></h1>
<p>1、方向支持空、向下和向右,如:
(1)范围填“A1:D1”,方向选择“Down”,则选定A到D列所有数据。
(2)范围填"A1:A5",方向选择“Right”,则选择从A1开始的5行完整数据。
2、如果想要查看运行的效果,可以在执行"选择范围"函数的后一个函数设置断点。</p>
<h1>相关函数</h1>
<p>无</p>
<h1><strong>示例/演示</strong></h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/a56496677760542d5ba812395cbc174c" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/3de13ab533996642f6019f7ddb9e044e" title="[组件[选择范围]_20210207.db">组件[选择范围]_20210207.db</a></p>