Tom Jebo
Tom Jebo
@Yanal-Yves did this happen with previous versions of the SDK? I'll test it out and see if I can tell what's causing the change to a macro type workbook.
I just created workbook (.xlsx) using your code. OneDrive doesn't do this conversion to .xlsm. Google Drive does. They must have some security constraint that kicks in. I'll see if...
Yeah, looks like the workbook generated is fine but definitely that code would not include several parts that Excel does when creating a new, fresh workbook. The parts not included...
@Yanal-Yves I just added this line: ```csharp CoreFilePropertiesPart coreDocProps = spreadsheetDocument.AddCoreFilePropertiesPart(); ``` And it seemed to fix the behavior. Can you try it?
@Yanal-Yves thanks for confirming and yes, I added the core part right after creating the document. I think we will consider adding this (and possibly the other standard parts) to...
Although it makes some sense for us to create workbooks with these common parts, I think this Google Sheets behavior is a little strange. I don't know what the rationale...
Interesting, I'll have to test this again. It didn't throw an error for me. Are you using an older version of Excel?
Ok, tested and yes, you're right, it's empty. It satisfied the Google Sheets test but didn't satisfy Excel webapp or desktop. What you're doing might be needed for now because...
@Yanal-Yves I created PR #1107 to test this out in the Create function. If it's accepted we can use this for now and add other parts if we think they're...
@Yanal-Yves >>The code I used in this issue is from that documentation. What's the purpose of having a Create method that's not self sufficient ? Just a reminder that the...