Filter.FilterId(属性)
说明
可读 获取单条筛选记录的ID
返回值
String
浏览器环境示例
javascript
async function example() {
await instance.ready();
const app = instance.Application;
const filters = await app.Sheets(1).Views(1).Filters;
const filterId = filters.Item(1).FilterId;
}
脚本编辑器 示例
javascript
function main() {
const filters = Application.Sheets(1).Views(1).Filters;
const filterId = filters.Item(1).FilterId;
}
main()