用ExcelApplication连接
用ExcelWorkbook:=ExcelApplication.Add;
用ExcelSheet:=ExcelWorkbook.sheet;
ExcelSheet.rang['a1','a1'].select;
ExcelSheet.rang['a1','a1'].value:='你的值';
ExcelApplication.visible:=True;
ExcelSheet.printerPreview;
ExcelSheet.saved[0]:=True;
ExcelApplication.Quit;
大概就是这样,上面的单词可能敲的不对,但意思就是这样,