Hi,
I have some Excel Scripts worked fine for few months, but suddenly not working starting from June.
The functions I found not working are:
- AutoFilter.clearCriteria (starting from 1/Jun)
- Range.insert (starting from 4/Jun)
I did a few tests, seems they did not work in desktop app and MS Flow, but they are working if I open the file in browser...
For example, if I create a new spreadsheet and record a new script like below (just adding a row in a new spreadsheet)
function main(workbook: ExcelScript.Workbook) {
let selectedSheet = workbook.getActiveWorksheet();
// Insert at range 1:1 on selectedSheet, move existing cells down
selectedSheet.getRange("1:1").insert(ExcelScript.InsertShiftDirection.down);
}
Previously it worked in desktop app, but it does not work now...
The same for:
selectedSheet.getAutoFilter().clearCriteria();
Can anyone share your idea? Thank you very much.