30. November 2007 10:31
1. Dezember 2007 00:31
3. Dezember 2007 10:12
3. Dezember 2007 11:45
3. Dezember 2007 21:01
MultipleSheets := TRUE;
XlWrkBk := XlApp.Workbooks.Add;
// grofs BEGIN
IF NOT MultipleSheets THEN
// grofs END
XlWrkSht := XlWrkBk.Worksheets.Add;
RecNo := 0;
// grofs BEGIN
IF MultipleSheets THEN
XlWrkSht := XlWrkBk.Worksheets.Add;
// grofs END
XlWrkSht.Name := SheetName;
IF ReportHeader <> '' THEN
ExcelBuffer.EnableMultipleSheets;
ExcelBuffer.CreateBook;
ExcelBuffer.CreateSheet(SheetName, SheetName, COMPANYNAME, USERID);
ExcelBuffer.GiveUserControl();