HotXLS 문서

Count 속성

범위의 셀 수를 반환합니다. 읽기 전용 Longword

구문

property Count: Longword;

예제

이 예제는 시트 1의 선택 영역에 있는 셀 수를 표시합니다

MessageDlg('The selection contains ' +
           inttostr(Workbook.Worksheets[1].Selection.Count) + ' cells.',
           mtInformation, [mbOk], 0);