dynamische Formel mit Variable in VBA
07.05.2003 14:44:43
diana
Cells(i, 22).Formula = "=(R " & i & " * 222.81 + S " & i & " * 200.52 + T " & i & " * 123.81) / 1000"
Wie stimmt das richtig? Hier bekomme ich immer einen VBA-Fehler.
i ist dabei eine Variable für die unterschiedlichen Zeilen.
Die Formel soll die Zellen R(i) * 222,81 nehmen, etc.
Das ganze ist also dynamisch.
Ist Formula richtig, oder muss ich formular1c1 oder formulaarray nehmen?
wer kann mir helfen?