T tpeisc Unregistered / Unconfirmed GUEST, unregistred user! 2003-06-08 #1 1、把页面设成横向的。 2、给设好的表格加边框。 最好能具体点儿,哈,,,,,
R realLearning Unregistered / Unconfirmed GUEST, unregistred user! 2003-06-08 #2 type XlPageOrientation = TOleEnum; const xlLandscape = $00000002;//横向 xlPortrait = $00000001;//纵向 Sheet := ExcelApplication.ActiveSheet as _WorkSheet; Sheet.PageSetup.Orientation := xlLandscape; 设置range.Borders可以设置边框
type XlPageOrientation = TOleEnum; const xlLandscape = $00000002;//横向 xlPortrait = $00000001;//纵向 Sheet := ExcelApplication.ActiveSheet as _WorkSheet; Sheet.PageSetup.Orientation := xlLandscape; 设置range.Borders可以设置边框
T tpeisc Unregistered / Unconfirmed GUEST, unregistred user! 2003-06-13 #3 to realLearning, 谢谢你, 第一个问解决了,但设置边框的我还没有弄好,你能说的清楚一点吗?
R realLearning Unregistered / Unconfirmed GUEST, unregistred user! 2003-06-17 #4 var rs,re : olevariant; rs := Sheet.cells.item[1,1]; re := Sheet.cells.item[9,9]; range := Sheet.Range(rs,re); range.Borders.linestyle := xlthin//记不太清了,看一下excel2000.pas里的声明
var rs,re : olevariant; rs := Sheet.cells.item[1,1]; re := Sheet.cells.item[9,9]; range := Sheet.Range(rs,re); range.Borders.linestyle := xlthin//记不太清了,看一下excel2000.pas里的声明
J JebelStream Unregistered / Unconfirmed GUEST, unregistred user! 2003-11-12 #5 你的几个问题我都写了答案发给你了这么长时间了,该结题了。