Hi,
I wrote a VBA code in English and it is working fine. However, the same code is having problems running on a German computer. The "if then else" statement on the German computer is giving unexpected results. The following is my code:
If Worksheets("Sheet1").Range("D12").Value < Worksheets("Sheet2").Range("B14").Value Then
'True statements
Else
'False statements
End If
On the computer with English settings, the "True statements" are executed, which is correct.
However, when I run the same code on a computer with German language settings, the "False statements" are executed. I do not understand the reason for the same. Could you please help me with this.
Thanks!!
Bookmarks