//WPS JS宏获取自动筛选后的行数
function getFilterRowCnt(shtRng)//shtRng表示筛选目标工作表范围
{
let lngRowCnt = 0;
for(let rngCell of shtRng.SpecialCells(xlCellTypeVisible).Areas
WPS JS宏获取自动筛选后的行数
于 2024-06-08 19:04:40 首次发布
//WPS JS宏获取自动筛选后的行数
function getFilterRowCnt(shtRng)//shtRng表示筛选目标工作表范围
{
let lngRowCnt = 0;
for(let rngCell of shtRng.SpecialCells(xlCellTypeVisible).Areas