View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
mozart[_3_] mozart[_3_] is offline
external usenet poster
 
Posts: 1
Default .Find Across Multiple worksheets


In a previous post I had a question regarding .find as I wanted to write
a macro that would loop through some code and find a value given a value
stored in a variable.

This is all fine however i have found that .Find does not like to look
beyond the the current worksheet that has focus. In other words it does
not parse the other sheets and stops after it has parsed the currently
selected sheet.

There something I am missing or do I need some smart code.

I have the below (minus error0 handling) the find code I am using


Cells.Find(What:=Grand, After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate

Cheers

Mozart


--
mozart
------------------------------------------------------------------------
mozart's Profile: http://www.excelforum.com/member.php...o&userid=13314
View this thread: http://www.excelforum.com/showthread...hreadid=398137