nog een vraag
kan de volgende code vanaf rij 100 beginnen? iemand een idee?
kan de volgende code vanaf rij 100 beginnen? iemand een idee?
Code:
Sub VenA()
c00 = ThisWorkbook.Path & "\alles.xlsx"
With GetObject(c00)
ar = .Sheets(1).Cells(1).CurrentRegion
.Close 0
End With
y = Application.Transpose(Application.Index(ar, 0, 1))
ar1 = Sheets("namen").Cells(1).CurrentRegion.Resize(, 6)
For j = 2 To UBound(ar1)
x = Application.Match(ar1(j, 1), y, 0)
If IsNumeric(x) Then
For jj = 2 To 6
ar1(j, jj) = ar(x, jj)
Next jj
End If
Next j
Sheets("namen").Cells(1).CurrentRegion.Resize(, 6) = ar1
End Sub