Update ExcelApi 1.7

This commit is contained in:
Zlatkovsky
2018-06-21 14:39:13 -07:00
parent c2007799b0
commit e327391c59
2 changed files with 2451 additions and 718 deletions
+2433 -718
View File
File diff suppressed because it is too large Load Diff
+18
View File
@@ -316,3 +316,21 @@ async function test_interfaces() {
range.set(rangeSettables);
});
}
async function testResumeExistingObject () {
let range: Excel.Range;
await Excel.run(async context => {
range = context.workbook.getSelectedRange();
await context.sync();
});
await Excel.run(range, async context => {
range.clear();
await context.sync();
});
await Excel.run({delayForCellEdit: true, previousObjects: range}, async context => {
range.clear();
await context.sync();
});
}