Closed rowrowrowyourboat closed 10 months ago
I was comparing the two xlsx files I had attached and opening them up as zip files, I opened up the file /xl/sheet1.xml in both files.
I copied and replaced the text from the start up until (not including) the XML tag <dimension
from the Excel saved file to the openxlsx generated file and saved it. Excel was able to read the file at that point so it seems like there must be some issue in that area.
This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
If I generate a file using openxlsx and then try to connect to it from Excel, Excel says that the file is not a valid Excel document. I'm connecting to it in Excel using these menu steps: Data > New Query > From File > From Excel workbook.
I can open that file in Excel just fine. If I open it in Excel and then save it from Excel, I can then connect to it
I'm using Microsoft Office Professional Plus 2016, Windows 11, R 4.2.1 and openxlsx 4.2.5
I'm attaching the file generated by openxlsx and that same file after it was opened and saved by Excel.
Here the code to reproduce it:
mtcars_astableF_withfilterF_savedfromexcel.xlsx mtcars_astableF_withfilterF.xlsx