var xlApp,xlSheet:olevariant;
xlApp:= CreateOleObject('Excel.Application');
xlApp.visible:=true;
xlApp.WorkBooks.open(‘c:\我的打印项目.xls’);
xlSheet:=xlApp.WorkBooks[1].Worksheets[1];
xlSheet.activate;
xlsheet.printout;
xlApp:= CreateOleObject('Excel.Application');
xlApp.visible:=true;
xlApp.WorkBooks.open(‘c:\我的打印项目.xls’);
xlSheet:=xlApp.WorkBooks[1].Worksheets[1];
xlSheet.activate;
xlsheet.printout;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货