I try to copy a Formular to a cell. The Lookup-Value of the INDEX(MATCH)
function musst be dynamik. I already wrote a working code that give me the required rownumber and I have a fix columnumber.
Cells(findrow, 6) = "=INDEX(C:C;MATCH(" & Cells(findrow, 16) & ";DD;0))"
Unfortunately It doesn´t paste the formular in the Cell I want.
This doesn´t work either
Cells(findrow, 6).Formular = "=INDEX(C:C;MATCH(" & Cells(findrow, 16) & ";DD;0))"
findrow
contains the correct row.
Does anyone has an idea, what I did wrong?
Thanks in advance