回复 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
复制代码 |