3. Juli 2008 16:21
ame DataType Subtype Length
Excel Automation 'Microsoft Excel 11.0 Object Library'.Application
Book Automation 'Microsoft Excel 11.0 Object Library'.Workbook
Range Automation 'Microsoft Excel 11.0 Object Library'.Range
Sheet Automation 'Microsoft Excel 11.0 Object Library'.Worksheet
Chart Automation 'Microsoft Excel 11.0 Object Library'.Chart
CREATE(Excel);
Excel.Visible(TRUE);
Book := Excel.Workbooks.Add(-4167);
Sheet:=Book.Sheets.Add;
Sheet.Name := 'Blatt1';
Sheet:=Book.Sheets.Add;
Sheet.Name := 'Blatt2';
...
Sheet('Blatt2').Activate;
Sheet.Range('A1').Value := 'test';
Sheet('Blatt1').Activate;
Sheet.Range('A1').Value := 'test2';
Sheet('Blatt5').Activate;
Sheet.Range('A1').Value := 'test3';
3. Juli 2008 18:52