Indirekt VBA
17.11.2008 16:07:00
MarkusL
Dies funktioniert (Danke an hary!)
Sub d ()
Cells(1, 3).FormulaLocal = "=INDIREKT(""'["" & A1 & ""]"" & B1 & ""'!$G$45"")"
End Sub
Dies leider nicht
(die Zeile soll dynamisch über iRow angefügt werden)
Sub g()
iRow = iRow + 1
Cells(1, 3).FormulaLocal = "=INDIREKT(""'[A"" & iRow & ""]B"" & zeile() & ""'!$G$45"")"
End Sub
Hat jemand eine Idee
Gruß
Markus