Commit d0610164 authored by Leon's avatar Leon

upload

parent a3427e63
require("topsin.excelxs");
try {
var book = new Book;
var ok = book.open("test.xlsx");
if (!ok) throw "open xls failed.";
var sheet = book.getSheet(0);
var range = sheet.addRange(0, 0, 0, 4);
sheet.copyRange(range, 1, 0);
book.save();
book.close();
} catch(e) {
print(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