8
8341
Unregistered / Unconfirmed
GUEST, unregistred user!
我怎么存不上啊!
OleContainer1.CreateObjectFromFile(Extractfilepath(Application.ExeName)+'chart.xls',TRUE);
OleContainer1.doverb(0);
ExcelApplication1.Connect;
ExcelWorkSheet1.ConnectTo(ExcelApplication1.Workbooks[1].SHEETS[1] AS _WORKSHEET);
ExcelWorkSheet1.cells.items[1,2]:='defrfrfrfrfrfr';
ExcelApplication1.Workbooks[1].SaveCopyAs('c:/123.xls',1);
。。。。。。
看起来好像存上了,但实际就是一个空的东西,什么也没有。谁告诉我怎么保存那?
OleContainer1.CreateObjectFromFile(Extractfilepath(Application.ExeName)+'chart.xls',TRUE);
OleContainer1.doverb(0);
ExcelApplication1.Connect;
ExcelWorkSheet1.ConnectTo(ExcelApplication1.Workbooks[1].SHEETS[1] AS _WORKSHEET);
ExcelWorkSheet1.cells.items[1,2]:='defrfrfrfrfrfr';
ExcelApplication1.Workbooks[1].SaveCopyAs('c:/123.xls',1);
。。。。。。
看起来好像存上了,但实际就是一个空的东西,什么也没有。谁告诉我怎么保存那?