Skip to content

Commit

Permalink
fix sheetDelete
Browse files Browse the repository at this point in the history
  • Loading branch information
fzumstein committed Feb 22, 2024
1 parent 91e2319 commit 08ac988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xlwings/js/xlwings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ function copyRange(workbook: ExcelScript.Workbook, action: Action) {
registerCallback(copyRange);

function sheetDelete(workbook: ExcelScript.Workbook, action: Action) {
const mytable = workbook.getWorksheets()[action.sheet_position].delete();
workbook.getWorksheets()[action.sheet_position].delete();
}
registerCallback(sheetDelete);

Expand Down

0 comments on commit 08ac988

Please sign in to comment.