注册 登录
编程论坛 ASP技术论坛

ASP中以下代码为什么不能用?急!

gavinshming 发布于 2008-04-14 15:54, 435 次点击
ASP导出到EXCEL表时,不能页面设置.
With ActiveSheet.PageSetup        
        .LeftMargin = Application.InchesToPoints(0.75)
        .RightMargin = Application.InchesToPoints(0.75)
        .TopMargin = Application.InchesToPoints(1)
        .BottomMargin = Application.InchesToPoints(1)
        .HeaderMargin = Application.InchesToPoints(0.5)
        .FooterMargin = Application.InchesToPoints(0.5)
        .Zoom = 75
End With

以上代码在ASP中怎么不能用!谢谢各位大哥了!
0 回复
1