18. Februar 2016 17:18
18. Februar 2016 19:53
19. Februar 2016 10:48
24. Februar 2016 12:30
5. März 2016 00:36
TmpExcelBuffer.OpenBook(FileName, SheetName);
TmpExcelBuffer.ReadSheet;
TmpExcelBuffer.GET(1,1);
TmpExcelBuffer."Cell Value as Text" := 'Hallo';
TmpExcelBuffer.UpdateBook(FileName,SheetName);
TmpExcelBuffer.UpdateSheet(RowFilter, Spaltenfilter); //Welche Spalten und Zeilen will man aktualisieren
TmpExcelBuffer.CloseBook;
LastUpdate := CURRENTDATETIME;
ExcelBufferDialogMgt.Open(Text005);
IF RowNoFilter_p > '' THEN
SETFILTER("Row No.", RowNoFilter);
IF ColumnNoFilter_p > '' THEN
SETFILTER("Column No.", ColumnNoFilter);
CRLF := 10;
TotalRecNo := COUNT + InfoExcelBuf.COUNT;
RecNo := 0;
// commit is required because of the result boolean check of ExcelBufferDialogMgt.RUN
COMMIT;
IF FINDSET THEN
REPEAT
RecNo := RecNo + 1;
IF NOT UpdateProgressDialog(ExcelBufferDialogMgt,LastUpdate,RecNo,TotalRecNo) THEN BEGIN
QuitExcel;
ERROR(Text035)
END;
// IF Formula = '' THEN
WriteCellValue(Rec)
// ELSE
// WriteCellFormula(Rec)
UNTIL NEXT = 0;
ExcelBufferDialogMgt.Close;
6. März 2016 13:01