팩토리 » Api

xplusgetexcelsheetcount

Description

지정한 엑셀 파일의 시트 개수를 리턴하는 API이다.
파일이 존재하지 않는 경우, 파일선택다이얼로그를 표시한다.

Parameters

Parameters Type Description
strFilePath STRING 파일 경로[옵션]
strPassword STRING 파일 암호[옵션]

Return Value

Type Description
short sheet의 개수

Remark

전용 브라우저 환경에서만 동작합니다.

Example

function btnTest_on_mouseup() { // 엑셀파일의 시트 개수를 취득 var sheetcount = factory.xplusgetexcelsheetcount("D:\\test\\new.xlsx"); } function btnTest2_on_mouseup() { // 파일 대화상자에서 선택한 엑셀파일의 시트 개수를 취득 var sheetcount = factory.xplusgetexcelsheetcount(); }

See Also

xplusgetexcelsheetnames

Viewer Ver.

9.1.1.1

Update Date

20220329