On 16 Jun 2023, at 12:51, Stanisław Sypniewski wrote:
The data validator does not work properly for the non-English version. In
cases where commas are used as a decimal point and semicolons as a
separator, using openpyxl removes formulas in all workbooks. For example:
There is no "non-English" version: you must use English settings. This is covered in the documentation.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Sengelsweg 34
Düsseldorf
D- 40489
Tel: +49-203-3925-0390
Mobile: +49-178-782-6226
On 16 Jun 2023, at 20:36, Stanisław Sypniewski wrote:
Thank you very much for the interesting answer. Your solution is a big
limitation of using Openpyxl in such cases - it will usually be impossible.
A better way would be to use Xlwings without having to change the language
version.
You misunderstand: openpyxl is a library for the file format. Formulae are always stored using English names and conventions; all the localisation happens in Excel.
Charlie Clark