Context: |
Class Method (Function) |
Library/Class: |
FileExport Class |
Function FileExport.SaveXlsSheet() As String
SaveXlsSheet (stats As StaticVars, protect As Integer, tmpnam As Integer)
This method saves the content of the in memory Excel document to file. The filename used is either the one set in stats.filename (which in turn is eventually initialised with a filename defined in the Integra profile). If no filename has been defined (yet) or the parameter tmpnam is True, a random filename located in Integra's temporary directory (located in the root of the Notes data directory) is generated.
Parameters:
Handle to Integra's runtime object stats
True to enable Excel document protection on the saved file)
True to indicate that the file has to be saved in a temporary file
Return Value:
Filename under which the Excel document was saved.
|