###User Defined Function###
_ExcelNumberFormat

###Description###
Applies the specified formatting to the cells in the specified R1C1 Range.

###Syntax###
#include <Excel.au3>
_ExcelNumberFormat ( $oExcel, $sFormat, $sRangeOrRowStart [, $iColStart = 1 [, $iRowEnd = 1 [, $iColEnd = 1]]] )


###Parameters###
@@ParamTable@@
$oExcel
	An Excel object opened by a preceding call to <a href="_ExcelBookOpen.htm">_ExcelBookOpen()</a> or <a href="_ExcelBookNew.htm">_ExcelBookNew()/a>
$sFormat
	The formatting string to apply to the specified range (see Notes below)
$sRangeOrRowStart
	Either an A1 range, or an integer row number to start from if using R1C1
$iColStart
	[optional] The starting column for the number format(left)
$iRowEnd
	[optional] The ending row for the number format (bottom)
$iColEnd
	[optional] The ending column for the number format (right)
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	1.
Failure:	0 and sets the @error flag to non-zero.
@error:	1 - Specified object does not exist
	2 - Starting row or column invalid
	3 - Ending row or column invalid
@extended:	0 - Row invalid
	1 - Column invalid
@@End@@


###Remarks###
For more information about possible formatting strings that can be used with this command, consult the book:
"Programming Excel With VBA and .NET," by Steven Saunders and Jeff Webb, ISBN: 978-0-59-600766-9


###Related###


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