Commit ac2520c0 authored by Leon's avatar Leon

upload

parent 7a6e2cec
......@@ -4,8 +4,10 @@ try {
var ok = book.open("test.xlsx");
if (!ok) throw "open xlsx failed.";
var sheet = book.getSheet(0);
var range = sheet.addRange(0, 0, 0, 4);
var range = sheet.addRange(0, 0, 0, 1);
sheet.copyRange(range, 1, 0);
range1 = sheet.addRange(0, 0, 2, 3);
sheet.copyRange(range1, 1, 2);
book.save();
book.close();
} catch(e) {
......
File added
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment