D
delphi5198
Unregistered / Unconfirmed
GUEST, unregistred user!
我看了前人的做法,回去用了用,但是,在打印时遇到了问题。
ExcelApplication1.Workbooks.Open('G:/132.xls',EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,0);
ExcelApplication1.WorkSheets.PageSetup.PrintTitleColumns:='';
......
ExcelApplication1.Worksheets.PrintOut(......);
提示说没有PageSetup这个属性,我哪里错了呢?
ExcelApplication1.Workbooks.Open('G:/132.xls',EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,0);
ExcelApplication1.WorkSheets.PageSetup.PrintTitleColumns:='';
......
ExcelApplication1.Worksheets.PrintOut(......);
提示说没有PageSetup这个属性,我哪里错了呢?