C
Cheasy
Unregistered / Unconfirmed
GUEST, unregistred user!
eclApp:=CreateOleObject('Excel.Application');
WorkBook:=CreateOleobject('Excel.Sheet');
workBook:=eclApp.workBooks.Add;
eclApp.Cells(1,1) := '测试写入';
eclApp.ActiveWindow.SelectedSheets.PrintPreview; //预览
...
------------------------------------------------------------------
问题是 没有显示? why?
另: 如何将宏代码写入到 Excel 之后,调用刚创建的宏?
Thank you very much.
WorkBook:=CreateOleobject('Excel.Sheet');
workBook:=eclApp.workBooks.Add;
eclApp.Cells(1,1) := '测试写入';
eclApp.ActiveWindow.SelectedSheets.PrintPreview; //预览
...
------------------------------------------------------------------
问题是 没有显示? why?
另: 如何将宏代码写入到 Excel 之后,调用刚创建的宏?
Thank you very much.