###User Defined Function###
_ExcelSheetMove

###Description###
Move the specified sheet before another specified sheet.

###Syntax###
#include <Excel.au3>
_ExcelSheetMove ( $oExcel, $vMoveSheet [, $vRelativeSheet = 1 [, $fBefore = True]] )


###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>
$vMoveSheet
	The name or number of the sheet to move (a string or integer)
$vRelativeSheet
	[optional] The moved sheet will be placed before or after this sheet (a string or integer, defaults to first sheet)
$fBefore
	[optional] The moved sheet will be placed before the relative sheet if true, after it if false (True or False) (default=True)
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	1.
Failure:	0 and sets the @error flag to non-zero.
@error:	1 - Specified object does not exist
	2 - Specified sheet number to move does not exist
	3 - Specified sheet name to move does not exist
	4 - Specified relative sheet number does not exist
	5 - Specified relative sheet name does not exist
@@End@@


###Remarks###
None


###Related###


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