You are on page 1of 2

Sub FindWord()

Dim Search As String



For i = ThisWorkbook.Worksheets("Check").Cells(1 !)."alue To 1##
Search = ThisWorkbook.Worksheets("Check").Cells(i 1)."alue
ThisWorkbook.Worksheets("Check").Cells(1 !)."alue = i
With Worksheets("Check").$ange("C1%C1##")
Set c = .Find(Search &ook'n%=(l"alues &ookAt%=(l)art)
'* +ot c 's +othing Then
*irstaddress = c.$o,
ThisWorkbook.Worksheets("Check").Cells(1 -)."alue = *irstaddress
ThisWorkbook.Worksheets("Check").Cells(*irstaddress .).Select
/(it For
/nd '*
/nd With

+e(t i


/nd Sub

Sub Search+e(t()

Dim 0al As 'nteger
Dim ro,num As 'nteger
Dim Search As String

ro,num = ThisWorkbook.Worksheets("Check").Cells(1 !)."alue
Search = ThisWorkbook.Worksheets("Check").Cells(ro,num 1)."alue

0al = ThisWorkbook.Worksheets("Check").Cells(1 -)."alue 1 1

With Worksheets("Check").$ange("C" 2 0al 2 "%C1##")
Set c = .Find(Search &ook'n%=(l"alues &ookAt%=(l)art)
'* +ot c 's +othing Then
*irstaddress = c.$o,
ThisWorkbook.Worksheets("Check").Cells(1 -)."alue = *irstaddress
ThisWorkbook.Worksheets("Check").Cells(*irstaddress .).Select
/lse
ThisWorkbook.Worksheets("Check").Cells(1 !)."alue =
ThisWorkbook.Worksheets("Check").Cells(1 !)."alue 1 1
3sg4o( ("Search Com5leted")
/(it Sub
/nd '*
/nd With


/nd Sub

You might also like