Hello,

New forum user, I was a bit out of resources on google...so let's see if someone could maybe help me.

I started something with a friend to sort our list and need your help on the below code, as is it not working like a charm I need you help.
Actually we compiled several sources and try to make it work:

PHP Code: 
Sub GetFiles()
Dim sThisFilePath          As String
   

''''''''''''''''''''''''''''''''find keywords and delete rows...'''''''''''''''''''''''

'
Workbooks(1).Activate
 mycount 
Cells(Rows.Count1).End(xlUp).Row
For 2 To mycount
For 1 To 9
If InStr(Cells(ij).Value"keyword 1") > 0 Then
Cells
(i1).EntireRow.Delete
End 
If
If 
InStr(Cells(ij).Value"keyword 2") > 0 Then
Cells
(i1).EntireRow.Delete
End 
If

On Error Resume Next


Next j
Next i
'''''''''''''''' new updates'''''''''''''''''''''''''''''''''

mycount = Cells(Rows.Count, 1).End(xlUp).Row
'
MsgBox mycount
For 2 To mycount
9

If InStr(Cells(i9).Value"(") > Or InStr(Cells(i9).Value")") > 0 Then
text1 
Cells(i9).Value
InStr(text1"(")
InStr(text1")")
MsgBox r
MsgBox s
MsgBox text1
text2 
Mid(text111)
MsgBox text2
Cells
(ij).Value text2
End 
If
If 
InStr(Cells(i9).Value"qq.com") > 0 Then
Cells
(i1).EntireRow.Delete
End 
If
If 
Len(Trim(Cells(i9).Value)) = 0 Then
Cells
(i1).EntireRow.Delete
End 
If
If 
InStr(Cells(i9).Value"@") = 0 Then
Cells
(i1).EntireRow.Delete
End 
If

text1 Trim(Cells(i9).Value)
If 
Len(text1) < 4 Then
Cells
(i1).EntireRow.Delete
End 
If
'If Left(Cells(i, 9).Value, 1) = "(" Then
'
Cells(i9).Value Mid(Cells(i9).Value2Len(Cells(i9).Value) - 2)
'End If
'
If Left(Cells(i9).Value3) = "   " Then
'Cells(i, 9).EntireRow.Delete
'
End If
Cells(i9).Select
If IsEmpty(ActiveCellThen
Cells
(i9).EntireRow.Delete
End 
If

Next i
''''''''''''''''''''''''''''Remove duplicates '''''''''''''''''''''''''''''''''''''''''
mycount = Cells(Rows.Count, 1).End(xlUp).Row
'
MsgBox mycount
For 2 To mycount
text1 
Trim(Cells(i9).Value)
For 
1 To mycount
If Trim(Cells(j9).Value) = text1 Then
Cells
(j9).EntireRow.Delete
mycount 
mycount 1
End 
If
Next j
Next i
 
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
 

    


'
For 2 To sheetscount
'Workbooks(i).Close
'
Next i
 
End Sub 
Any comment will be welcome!
Thank you in advance