真 真.浪人西林 Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-20 #1 在Delphi中调用Excel,如何设定纸张默认属性?如大小设为A4,打印方式设为横打,等等。
H hfpang Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-20 #2 应该是设置ExcelWorksheet1.PageSetup的属性,比如, 设定大小为A4: ExcelWorksheet1.PageSetup.xlPaperA4; 设定为横打: ExcelWorksheet1.PageSetup.Orientation:=xlLandscape;
应该是设置ExcelWorksheet1.PageSetup的属性,比如, 设定大小为A4: ExcelWorksheet1.PageSetup.xlPaperA4; 设定为横打: ExcelWorksheet1.PageSetup.Orientation:=xlLandscape;