Erwartet Datenfeld
Georg
ich habe mir schon ca. eine Stunde um die Ohren geschlagen und frage euch um Rat. Es geht um ein paar Arrays von meinem Makro.Ich bekomme immer die Fehlermeldung "Fehler beim Kompilieren: Erwartet Datenfeld
Ich habe die Var als Double definiert und ich bekomme immer diese Fehlermeldung ab nom_x7(y1)
Kann jemand mir helhen
Dim min_x(4 To 23), min_j(4 To 23), min_b(4 To 23), min_x52(4 To 23), min_x7 As Double
Dim max_x(4 To 23), max_j(4 To 23), max_b(4 To 23), max_x52(4 To 23), max_x7 As Double
Dim nom_x(4 To 23), nom_j(4 To 23), nom_b(4 To 23), nom_x52(4 To 23), nom_x7 As Double
Dim min_x2, max_x2, nom_x2 As Double
For y1 = 4 To 23
Workbooks("Shaker.xlsm").Activate
nom_x(y1) = Cells(8, y1)
min_x(y1) = Cells(9, y1)
max_x(y1) = Cells(10, y1)
nom_j(y1) = Cells(11, y1)
min_j(y1) = Cells(12, y1)
max_j(y1) = Cells(13, y1)
nom_b(y1) = Cells(14, y1)
min_b(y1) = Cells(15, y1)
max_b(y1) = Cells(16, y1)
nom_x52(y1) = Cells(17, y1)
min_x52(y1) = Cells(18, y1)
max_x52(y1) = Cells(19, y1)
nom_x7(y1) = Cells(20, y1)
min_x7(y1) = Cells(21, y1)
max_x7(y1) = Cells(22, y1)
nom_x2(y1) = Cells(23, y1)
min_x2(y1) = Cells(24, y1)
max_x2(y1) = Cells(25, y1)
Viele Grüße
Georg