Visual Basic 导出到 Excel 提速之法 (转)[2]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 fangke 的 blog

        .rightfooter = "&""楷体_gb2312,常规""&10第&p页 共&n页"
    end with
   
    xlapp.application.visible = true
    set xlapp = nothing  '"交还控制给excel
    set xlbook = nothing
    set xlsheet = nothing

end function


注:须在程序中引用'microsoft excel 9.0 object library'和ado对象,机器必装excel 2000

本程序在windows 98/2000,vb 6 下运行通过。

本文关键:Visual Basic 导出到 Excel 提速之法 (转)
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top