VBA
07.02.2006 13:55:28
Rainer
Ich importiere eine Textdatei und berechne sofort alle möglichen Werte.
Folgendes geht einfach nicht.
formula = "=(MIN([COGW][ROW]-[CMITTELW][ROW];[CMITTELW][ROW]-[CUGW][ROW]))/(3*[CSTDABW][ROW])"
formula = Replace(formula, "[ROW]", crow)
formula = Replace(formula, "[COGW]", CN(COGW))
formula = Replace(formula, "[CMITTELW]", CN(CMITTELW))
formula = Replace(formula, "[CUGW]", CN(CUGW))
formula = Replace(formula, "[CSTDABW]", CN(CSTDABW))
ccell = formula
VBA nimmt diese Formel einfach nicht.
Da ich mehrere Funktionen ausrechne, funktioniert sonst alles.
Ich bitte um Hilfe