Undo the changes made by Office Scripts
You cannot undo changes made to the Excel workbook by a script with the Excel's Undo command. Instead, you must restore a previous version of the workbook from your cloud storage.
Version history
Office's version history is an easy way to restore an older workbook through the Excel UI. The feature only works for files stored in OneDrive or SharePoint Online.
From the Excel workbook in which the script was run, use the following steps to undo the effects.
- Go to File > Info > Version History.
- Select a version saved prior to the running the script.
- Select Restore.
See also
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Office Scripts