Hi All.
I have a code that works perfectly fine for users with the US excel and windows setting. I'm stuck why FormulaR1C1 doesn't work as it should when ran in a German setting.
Here is the line of code that works for US setting.
Range("L2").FormulaR1C1 = "=(1-(RC[14])- " & ACoS & " ))*RC[-1]"
But it returns nothing, as in empty when ran in a German setting. I'm thinking if it is the variable thing "ACoS".
Would really appreciate any help. Thank you so much in advance.
I have a code that works perfectly fine for users with the US excel and windows setting. I'm stuck why FormulaR1C1 doesn't work as it should when ran in a German setting.
Here is the line of code that works for US setting.
Range("L2").FormulaR1C1 = "=(1-(RC[14])- " & ACoS & " ))*RC[-1]"
But it returns nothing, as in empty when ran in a German setting. I'm thinking if it is the variable thing "ACoS".
Would really appreciate any help. Thank you so much in advance.