获取当前激活的视图
View
async function example() { await instance.ready(); const app = instance.Application; const view = await app.Sheets(1).Views.ActiveView; }
function main() { const view = Application.Sheets(1).Views.ActiveView; } main()