excel.duplicate
Create a new Excel workbook based on an existing file.
sourceFilename string
bookID number
local xl = excel.duplicate("c:\\test.xls")
if xl < 1 then
print("Error loading workbook")
else
excel.close(xl)
end if
Filename path is absolute.
Generated on the 26 June 2024 at 22:01:28 (UK Time)