###User Defined Function###
_ExcelReadArray

###Description###
Create an array from a row or column of the active worksheet.

###Syntax###
#include <Excel.au3>
_ExcelReadArray ( $oExcel, $iStartRow, $iStartColumn, $iNumCells [, $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 reading the array from
$iStartColumn
	The table column to start reading the array from
$iNumCells
	The number of cells to read into the array
$iDirection
	[optional] The direction of the cells to read into array (0=right, 1=down)
$iIndexBase
	[optional] Specify whether array created is to have index base of either 0 or 1
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	an array with the specified cell contents.
Failure:	sets the @error flag to non-zero.
@error:	1 - Specified object does not exist
	2 - Parameter out of range
	3 - Invalid number of cells
	4 - Invalid direction parameter
@extended:	0 - Row out of range
	1 - Column out of range
@@End@@


###Remarks###
None


###Related###


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