2
내가 코드 오류 424 개체가VBA의 찾기 기능은
lr = Range("O:O").Cells(Rows.Count, 1).End(xlUp).Row
For y = 0 To UBound(myVariable)
a = myVariable(y)
Range("O:O").Select
Set objXL = GetObject(, "Excel.Application")
Set z = Cells.Find(What:=a, After:=Range("O2"), LookIn:=xlFormulas, _
LookAt:=xlWhole, SearchOrder:=xlByColumns, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
If z = "True" Then
ActiveCell.Delete shift:=xlUp
End If
MsgBox z.Value
Next
좋은 읽기 http://www.siddharthrout.com/2011/07/14/find-and-findnext-in-excel-vba/ –