Spreadsheet.ExportXLS
Export a spreadsheet to a XLS file.
SVB Example
Exporting a spreadsheet as an Excel file:
Option Base 1
Option Explicit
Sub Main
Dim spr As Spreadsheet
'assigns the active spreadsheet to the object spr
Set spr = ActiveSpreadsheet
'Save the spreadsheet as an Excel file.
'File is saved as XLS1.xls, the entire spreadsheet is selected,
'use text labels, don't use case names to first column,
'don't use variable names to first row,
'overwrite file if it exists
spr.ExportXLS("C:\users\GabiM\Documents\XLS1.xls",1,0,1,5,True,False,False,True)
End Sub
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.
