Closed jellyslalsher closed 8 months ago
Please provide a minimal code sample that only reproduces the error instead of your whole script.
Here's where I believe the conversion of the data in the column to a the date format is failing new_sheet.range('F7:F1234').number_format = 'MM/DD/YYYY'
OS (e.g. Windows 10 or macOS Sierra)
Im on Windows 10 enterprise edition
Versions of xlwings, Excel and Python
Latest stable version of xlwings with python 3.11.5 in anaconda and Excel Office 365 in french
Describe your issue (incl. Traceback!)
I'm trying to format two column to have the values show up as dates upon creation, initally they showed up as an int and when converted to date they gave the correct format date. but i want them to be in date format without having to do it manually in excel.
I tried all sorts of offered formatted functions and also formatted the data in the pandas dataFrame before insertion
the function below insert formulas in a sheet and that interacts with other sheets that have the data in them. So my sheet in this case rather serves as a reporting sheets for the "data warehouse" sheets
Traceback
Include a minimal code sample to reproduce the issue (and attach a sample workbook if required!)