筛选
<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>‘sheet3’</td>
</tr>
<tr>
<td>列位置</td>
<td>【整型】要进行筛选操作的列,从0开始</td>
<td>0</td>
</tr>
<tr>
<td>筛选选项</td>
<td>【字符串数组】筛选内容</td>
<td>[‘张三’,李四’]</td>
</tr>
</tbody>
</table>
<h1><strong>注意/说明</strong></h1>
<p>1、该函数是对工作表进行筛选,对表格的操作请使用【表格】文件夹下的函数
2、如果只筛选工作簿中的一组数据,则【筛选选项】可写成['张三']。
3、【列位置】填写的开始的列,要和【筛选选项】中的内容一致。</p>
<h1>相关函数</h1>
<p>无</p>
<h1><strong>示例/演示</strong></h1>
<p>筛选前的效果图:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/363ea6697a5fc1d485fa9ca953ecd74b" alt="" />
是筛选后的效果图:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/0be4633f1bc96f4a90013a00951d9b1a" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/a3f1554469d65aacd4799420ad740eb7" title="[组件[筛选]_20210218.db">组件[筛选]_20210218.db</a></p>