excel.saveAs
Description
Save an Excel workbook.

Parameters
bookID number
filename string

Return value
none

Example
local xl = excel.load("c:\\test.xls")
if xl < 1 then
    print("Error loading workbook")
else
    -- save the workbook as test2.xlsx
    excel.saveAs("c:\\test2.xlsx")

    -- close the workbook
    excel.close(xl)
end if

Comments

See also
excel.save

Back
Generated on the 26 June 2024 at 22:01:28 (UK Time)