xlsx.SaveAs(id, filename$)
id
to the location specified by
filename$
. If you don't want to save the XLSX document to a new location, use
xlsx.Save() instead.
Note that this function won't close the XLSX document. You still need to call xlsx.Close() to free all resources associated with the XLSX document.