If then else in multiple languages
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
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.
Re: If then else in multiple languages
This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Search Engine Friendly URLs by vBSEO 3.6.0 RC 1