I have this code:
Dim fStrecke As String
fStrecke = \"=A\" & z & \"*B\" & z & \"*C\" & z
wks.Cells(z, \"L\").Formula = fStrecke
Dim fZei
There are two options for you:
.FormulaLocal
property: wks.Cells(z, "K").FormulaLocal = fZeit
,
as separator instead of semicolon ;
(even if your local settings require ;
as standard separator):fZeit = "=IF(ISBLANK(H" & z & "),((A" & z & "*B" & z & "*I" & z & ")-I" & z & ")+(A" & z & "*B" & z & "*J" & z & "),(A" & z & "*B" & z & "*H" & z & "))"
wks.Cells(z, "K").Formula = fZeit