Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
29 lines (23 loc) · 1.18 KB

excel.getValue.md

File metadata and controls

29 lines (23 loc) · 1.18 KB

Excel.getValue

The getValue function is established to get the value from a cell.

Sample

	var excel = new Excel("test.xlsx");
	var v1 = excel.getValue("Sheet1", "A1");
	var v2 = excel.getValue("Sheet1", "B2", "yyyy/MM/dd");
	var v3 = excel.getValue("Sheet1", "C3", "#,##0.0", "HALF_EVEN");

API

CallingReturning
Excel . getValue ( sheetName , position )String | Number | Date | Boolean
Excel . getValue ( sheetName , position , formatter )String | Number | Date | Boolean
Excel . getValue ( sheetName , position , formatter , rounder )String | Number | Date | Boolean
ParametersTypeDescription
sheetNameStringThe sheet name.
positionStringThe absolute reference of the cell.
formatterStringNumber formatter or date formatter.
rounderStringThe rounder for number format.