XL_MARGINS()

 

Version Ref: Version 6.1.00 (USP 6.0.03)

 

Syntax:

 

 e = XL_MARGINS([left, [right, [top, [bottom, [sheet]]]]])
	Set the worksheet print margins.

	Parameters -
		left   : Left margin in inches, e.g. "0.5", "1", "0.75". A blank or 
		         negative value will use the default of "0.7".
		right  : Right margin in inches, e.g. "0.5", "1", "0.75". A blank or 
		         negative value will use the default of "0.7".
		top    : Top margin in inches, e.g. "0.5", "1", "0.75". A blank or 
		         negative value will use the default of "0.75".
		bottom : Bottom margin in inches, e.g. "0.5", "1", "0.75". A blank or 
		         negative value will use the default of "0.75".
		sheet  : Handle of sheet to set the margins. Use blank, "0", or "-1" to 
				 use the default sheet.
				
	Returns "1" on success and "-1" on error. XL_ERROR() can be called to return
	the last error.