XL_ADDSHEET()

 

Version Ref: 6.1 (USP 6.0.02)

 

Syntax:

 

 handle = XL_ADDSHEET([name])
	Add a new sheet to the XLSX document.

	Parameters -
		name : The name for the sheet to be created. Defaults to auto naming the
		       sheet based on the Sheet1, Sheet2, ..., SheetN template.
		
	Returns a handle to a new sheet object on successs and "-1" on error.
	XL_ERROR() can be called to return the last error.