887 Aufrufe
Gefragt in Tabellenkalkulation von ahorn38 Experte (3.2k Punkte)
Hallo,

ich habe eine funktionierende Befehlszeile
..
Sheets("Abrechnung").Cells(j, 9).Formula = "=product( " & Cells(j, 8).Address & "*" & Cells(iRow, 4).Address & ")"

Allerdings steht der zweite Faktor in einem anderen Arbeitsblatt. Habe es mit
Sheets("Abrechnung").Cells(j, 9).Formula = "=product( " & Cells(j, 8).Address & "*" & Sheet("Tab1").Cells(iRow, 4).Address & ")"
versucht, was aber nicht funktioniert. Weiß jemand Abhilfe? Danke und Gruß!
Andreas

P.S. Ich brauche die Formel im Arbeitsblatt, insofern reicht es nicht. das einfach auszurechnen.

3 Antworten

0 Punkte
Beantwortet von hajo_zi Experte (9.1k Punkte)
& "Tab1!" &.Cells(iRow, 4).Address & ")"

Gruß hajo
0 Punkte
Beantwortet von hajo_zi Experte (9.1k Punkte)
der Punkt vor Cells muss noch weg.

Gruß hajo
0 Punkte
Beantwortet von ahorn38 Experte (3.2k Punkte)
..das passt. Danke Hajo.
...