According to the help in the excel IDE, .Find returns a range object.
So, why instead of getting a range, it appears to return the value I am searching for?
rFound = 3??
iBr is an interger
So, why instead of getting a range, it appears to return the value I am searching for?
Code:
Dim rFound as Range
Dim iBr as Integer
iBr = 3
With WB.Sheets("GL Transaction Totals - MTD and YTD")
Set rFound = .Range("C6:C20000").Find(iBr, LookIn:=xlValues, lookat:=xlWhole)
rFound = 3??
iBr is an interger