XL_ADD_DT2()

 

Version Ref: 6.1 (USP 6.0.02)

 

Syntax:

 

 e = XL_ADD_DT2(date, time [, style [, sheet [, cell]]])
	Combine two fields into a single spreadsheet datetime field and insert it as
	a new cell in the XLSX document.

	Parameters -
		date  : filePro date field.
		time  : filePro time field.
		style : Handle to style to be used for this cell. Use blank to use the
		        default style.
		sheet : Handle to sheet to insert the cell on. Use blank, "0", or "-1"
		        to use the default sheet.
		cell  : The Excel style cell to insert the cell. e.g. "A1" "D6" "F6".

	Returns "1" on success and "-1" on error. XL_ERROR() can be called to return
	the last error.