发信人: zeng_zhe()
整理人: hunter__fox(2002-03-16 23:24:47), 站内信件
|
1、oexcel=CREATEOBJECT("EXCEL.APPLICATION")
2、oexcel.visible=.t.
3、oexcel.workbooks.open("c:\temp\coor.xls")
4、设置左边距为2CM:
oexcel.activesheet.pagesetup.leftmargin=2/0.035
5、设置右边距为2CM:
oexcel.activesheet.pagesetup.rightmargin=2/0.035
6、设置上边距为2CM:
oexcel.activesheet.pagesetup.headermargin=2/0.035
7、设置下边距为2CM:
oexcel.activesheet.pagesetup.footermargin=2/0.035
-- ※ 来源:.月光软件站 http://www.moon-soft.com.[FROM: 202.96.190.124]
|
|