###User Defined Function###
_ExcelWriteArray

###Description###
Write an array to a row or column on the active worksheet of the specified Excel object.

###Syntax###
#include <Excel.au3>
_ExcelWriteArray ( $oExcel, $iStartRow, $iStartColumn, $aArray [, $iDirection = 0 [, $iIndexBase = 0]] )


###Parameters###
@@ParamTable@@
$oExcel
	Excel object opened by a preceding call to <a href="_ExcelBookOpen.htm">_ExcelBookOpen()</a> or <a href="_ExcelBookNew.htm">_ExcelBookNew()/a>
$iStartRow
	The table row to start writing the array to
$iStartColumn
	The table column to start writing the array to
$aArray
	The array to write into the sheet
$iDirection
	[optional] The direction to write the array (0=right, 1=down)
$iIndexBase
	[optional] Specify an array index base of either 0 or 1
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	1.
Failure:	0 and sets the @error flag to non-zero.
@error:	1 - Specified object does not exist
	2 - Parameter out of range
	3 - Array doesn't exist / variable is not an array
	4 - Invalid direction parameter
@extended:	0 - Row out of range
	1 - Column out of range
@@End@@


###Remarks###
None


###Related###


###Example###
@@IncludeExample@@
