XL_OPEN()

 

Version Ref: 6.1 (USP 6.0.02)

 

Syntax:

 

 e = XL_OPEN(file [, name])
	Start building an XLSX output file.

	Parameters -
		file : Path to the file to create. If no full path is given the
		       generated file will be placed in the PFTMP or equivalent
		       directory.
		name : The name for the default sheet that will be created. Defaults to
		       Sheet1.
		
	If the filename does not end in ".xlsx" it will be added on creation.

	Returns "1" on success and "-1" on error. XL_ERROR() can be called to return
	the last error.
	
	Note: Only one XLSX file can be created at a time.