﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2988	_Excel_RangeFind fails without throwing error when searching inactive book with string as Range	TheAppleFreak <theapplefreak@…>	water	"Using _Excel_RangeFind on an inactive workbook with a string as the range fails the search, but does not return `0` or throw an error. Passing a `Range` object or having the sheet be active works as expected. 

Looking in Excel.au3, the culprit appears to be in this `If` statement:

{{{
If $vRange = Default Then
	$bSearchWorkbook = True
	$oSheet = $oWorkbook.Sheets(1)
	$vRange = $oSheet.UsedRange
ElseIf IsString($vRange) Then
	$vRange = $oWorkbook.Parent.Range($vRange)
	If @error Then Return SetError(3, @error, 0)
EndIf
}}}

`$oWorkbook.Parent.Range($vRange)` should be changed to `$oWorkbook.Sheets(1).Range($vRange)` instead."	Bug	closed	3.3.13.21	Standard UDFs	3.3.12.0	None	Fixed	excel com _excel_rangefind	
