office-scripts

Protect Worksheet in Office Scripts with Options

主宰稳场 提交于 2021-01-27 19:33:08
问题 How can I protect a worksheet but allow the user to format the columns in Office Scripts? I have tried a few things but haven't had any success. function main(workbook: ExcelScript.Workbook) { let sheet = workbook.getWorksheet("By Item"); sheet.getProtection().protect(ExcelScript.WorksheetProtectionOptions.allowFormatColumns); } Please see the attached link https://docs.microsoft.com/en-us/javascript/api/office-scripts/excelscript/excelscript.worksheetprotection?view=office-scripts#protect

how to use Office Scripts in power automate?

可紊 提交于 2021-01-24 11:15:20
问题 The documentation says that office scripts works with power automate. Does anyone know how to run an office script using power automate? Thanks! 回答1: We just added some new tutorials for using Office Scripts with Power Automate. You should find the information you're looking for here: https://docs.microsoft.com/en-us/office/dev/scripts/tutorials/excel-power-automate-manual 回答2: The solution to this is as followed. Create a new environment in power automate specify the environment as a united

how to use Office Scripts in power automate?

夙愿已清 提交于 2021-01-24 11:14:07
问题 The documentation says that office scripts works with power automate. Does anyone know how to run an office script using power automate? Thanks! 回答1: We just added some new tutorials for using Office Scripts with Power Automate. You should find the information you're looking for here: https://docs.microsoft.com/en-us/office/dev/scripts/tutorials/excel-power-automate-manual 回答2: The solution to this is as followed. Create a new environment in power automate specify the environment as a united