로컬 엑셀 파일을 선택하기 위한 API이다. on_selectfile 이벤트로 결과가 리턴된다.
Parameters | Type | Description |
---|---|---|
strInitDir | STRING | [옵션] 초기 디렉토리 (기본값: null) |
Type | Description |
---|---|
BOOL | 정상 처리 여부 |
function selectfiles_on_mousedown(objInst)
{
objExcel.selectfile(); // 파일 선택대화상자 호출
}
function objExcel_on_selectfile(objInst, objFile)
{
screen.alert(objFlle.name);
objExcel.loadfileobject(objFile);
}