ich habe ein kleines Problem mit Vlookup.
Und zwar moechte ich gerne anstelle des Werts in der Zelle die Formel die in der Zelle steht zurueckgeben lassen. Wie ist das moeglich?
Mein aktueller Code sieht so aus:
For Each wks In ActiveWorkbook.Worksheets
If wks.Name = "Charts" Then Exit For
Range(Cells(l + 3, i), Cells(j, i)).Formula = Application.WorksheetFunction.VLookup(Worksheets_("Data").Range(Cells(2, 1), Cells(j, 1)), Worksheets(wks.Name).Range("B3:M" & k), 12, False)
i = i + 1
Next
Danke.