If i rename to .xls and then i attempt to open it i get the following error:
“The file you are trying to open, “filename.xls”, is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?”
…I then click Yes and get the following:
“The file is corrupt and cannot be opened”
I then click ok and get:
“Problems came up in the following areas during load:”
VALUE: Compliance for - SERVERS: CSM Patching - Test by COMPANYNAME: MICROSOFT PATCH BASELINE: Servers 2012 - Last Updated to May 2012 (SR): (3048 total items)
VALUE: Compliance for - SERVERS: CSM Patching - Test by COMPANYNAME: MICROSOFT PATCH BASELINE: Servers 2012 - Last Updated to May 2012 (SR): (3048 total items)
All the messages are expected, except that you should be able to open the spreadsheet.
So try again by accepting the errors.
The first error about format is expected because Excel detected that the file is an XML but with xls extension.
The other one about Workbook Setting error is a bug that I have yet to fix. I take the title of the grid and use that to name the worksheet. Turns out that the Worksheet name has a length limit. I remember that if you accept the error, it will still open the worksheet correctly.
I have noticed that if i open the spreadsheet in a text editor and change the lines:
Compliance for - SERVERS: CSM Patching - Test by COMPANYNAME: MICROSOFT PATCH BASELINE: Servers 2012 - Last Updated to May 2012 (SR): (3048 total items)
To something shorter like “report” it will then open fine in excel.