aamirsq
Member
Hello Friends,
Hope you are doin' fine. Almost a year ago thanks to Mr. Debraj who helped me in this below vb code which worked perfect.
This line is giving syntax error message
& now i want to add extra matching option (for corresponding date and location) in this code as shown in sample file.
Thanks
Hope you are doin' fine. Almost a year ago thanks to Mr. Debraj who helped me in this below vb code which worked perfect.
Code:
Sub Copy_Stuff1()
Dim cell As Range, rr As Long
rr = 2
Application.ScreenUpdating = False
Sheets("Sheet1").Range("A2:A3000").ClearContents
For Each cell In Sheets("main").Range("B2:O100")
If Len(cell)> 0 Then
Sheets("Sheet1").Range("A" & rr).Value = cell.Value
rr = rr + 1
End If
Next cell
Application.ScreenUpdating = True
End Sub
This line is giving syntax error message
Code:
If Len(cell)> 0 Then
Thanks