Sorry for shouting around, but I am working my ass of for weeks now to finalize a template for a project, had all running and now face some issues when testing different Computer Locales.
Problem: By inserting a formula in Excel by Macro, this formula gets not "adopted" when the locale changes. I have users with English(1033) and German(1031) working with the template.
The Formula is
code
...
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=MOD(ROW(),2)"
...
code
Note the comma before the last digit.
In US locale (1031) all works great, in German (1031) locale, the Macro stops working, because a semicolon is expected.
Please, ANYONE know how to overcome this?
Problem: By inserting a formula in Excel by Macro, this formula gets not "adopted" when the locale changes. I have users with English(1033) and German(1031) working with the template.
The Formula is
code
...
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=MOD(ROW(),2)"
...
code
Note the comma before the last digit.
In US locale (1031) all works great, in German (1031) locale, the Macro stops working, because a semicolon is expected.
Please, ANYONE know how to overcome this?