VB6下如何同时打开所有的工作薄
一个excel文件中有5个工作薄,如何同时全部打开?保存时,又如何能全部保存。 回复 1楼randomcic的帖子Spread for ActiveX 使用 OpenExcel2007File用于打开 xlsx 文件,其中第三个参数设置为 -1 时可打开全部 Sheet:
fpSpread.OpenExcel2007File(FileName As String, Password As String, Sheet As Integer, ExcelSheet As Integer, LogFileName As String) As Boolean
SaveExcel2007File 用于保存 Excel,默认即保持所有 Sheet :
fpSpread.SaveExcel2007File(ByVal FileName As String, ByVal Password As String, Flags AsSaveExcel2007FileFlagConstants, ByVal LogFileName As String)As Boolean
页:
[1]