diff --git a/lib/msoffice.js b/lib/msoffice.js index 9fd6f25..f1a016c 100644 --- a/lib/msoffice.js +++ b/lib/msoffice.js @@ -180,14 +180,14 @@ function Excel() { return new Excel.Range(this.currentWorksheet.Range(range)); }; - this.getCell = function(row, col) { + this.getCellByPosition = function(row, col) { return new Excel.Cell(this.currentWorksheet.Cells(row, col)); }; }; Excel.SupportedFileTypes = FileTypes.Excel; Excel.Range = function(range) { this.range = range; - this.getCell = function(row, col) { + this.getCellByPosition = function(row, col) { return new Excel.Cell(this.range.Cells(row, col)); }; }; @@ -228,7 +228,7 @@ exports.Excel = Excel; exports.PowerPoint = PowerPoint; exports.Word = Word; -exports.VERSIONINFO = "Microsoft Office interface (msoffice.js) version 0.1.7"; +exports.VERSIONINFO = "Microsoft Office interface (msoffice.js) version 0.1.8"; exports.AUTHOR = "abuse@catswords.net"; exports.global = global; exports.require = global.require;