ok... i'm a bit of a novice at this and I guess I'm not doing something
right. I tried to get what you posted to work but i'm not filling it in
correctly i guess. Below i put what code i started with till i ran into this
problem. If you cound possibly incorporate what I'm posting with your post
so i can understand how your code snipet is suppose to work i would greatly
appriciate it. in step3 of the code... this is the first sheet i ran into
that what i was searching through that wasn't on the sheet.
Sub SingleSearch()
'setup1 = Sheets(Array("Magic 2010", "Alara Reborn", "Conflux", "Shards of
Alara", _
"Magic Trader - Phy. NonFoil", "Magic Trader - Phy. Foil")).Select
search = Range("f4").Value
Range("f5").Font.ColorIndex = 3
Application.ScreenUpdating = False
'Worksheets("Your Search Results").Visible = False
step1: Worksheets("Your Search Results").Visible = True
Sheets("Your Search Results").Activate
Range("a:iv").ClearContents
Range("a:iv").ClearFormats
Range("a1").Select
step2: Sheets("Magic 2010").Activate
Range("a1").Select
ac = ActiveCell.Value
CountA = 1
countb = 2
step2b: Sheets("Magic 2010").Activate
ac = ActiveCell.Value
Range("e1:k2").Copy
Cells.Find(What:=search, After:=ActiveCell,
LookIn:=xlFormulas _
, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
If ActiveCell.Value = ac Then GoTo step3 Else
Sheets("Your Search Results").Activate
ActiveCell.PasteSpecial
Sheets("Magic 2010").Activate
If CountA = 2 Then GoTo step2a Else
Range(ActiveCell, ActiveCell.Offset(0, 6)).Copy
CountA = CountA + 1
step2a: Range(ActiveCell, ActiveCell.Offset(0, 6)).Copy
Sheets("Your Search Results").Activate
ActiveCell.Offset(countb, 0).Select
ActiveCell.PasteSpecial
countb = countb + 1
GoTo step2b
step3: ActiveCell.Offset(1, 0).Select
Sheets("Alara Reborn").Activate
Range("a1").Select
ac = ActiveCell.Value
CountA = 1
countb = 2
step3b: Sheets("Alara Reborn").Activate
ac = ActiveCell.Value
Range("e1:k2").Copy
If Cells.Find(What:=search, After:=ActiveCell,
LookIn:=xlFormulas _
, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Select = "" Then GoTo step4
Else
If ActiveCell.Value = ac Then GoTo step4 Else
Sheets("Your Search Results").Activate
ActiveCell.PasteSpecial
Sheets("Magic 2010").Activate
If CountA = 2 Then GoTo step2a Else
Range(ActiveCell, ActiveCell.Offset(0, 6)).Copy
CountA = CountA + 1
step3a: Range(ActiveCell, ActiveCell.Offset(0, 6)).Copy
Sheets("Your Search Results").Activate
ActiveCell.Offset(countb, 0).Select
ActiveCell.PasteSpecial
countb = countb + 1
GoTo step3b
step4:
Application.ScreenUpdating = False
End Sub