Am .09.2018, 19:41 Uhr, schrieb 'Bhavesh Patel' via openpyxl-users
<
openpyx...@googlegroups.com>:
> Hi, I'm using openpyxl to format cells in excel from 'General' to other
> builtin formats. Although the script completes and states the format has
> been changed, when I try and open the excel file, excel pops with and
> error box, repair or cancel.
Looks like you're confusing named styles with number formats. Apart from
"General" number formats always take the form of a format template, such
as mmm-yyyy for dates.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel:
+49-211-600-3657
Mobile:
+49-178-782-6226