Skip to content

Script converting then corrupt XLSX? #700

@jamiechalmerzlp

Description

@jamiechalmerzlp

Basically I am trying to modify the flow to work dynamically so when an email comes in with a subject filter of "XXX" then 'Loop' to create files saving the attachments, then it moves on to the flow documented here https://learn.microsoft.com/en-us/office/dev/scripts/resources/samples/convert-csv however, it does create the XLSX but they are corrupt so when I try to open the doucments, they don't open and I get an error stating 'This workbook couldn't be opened because the file format may not be matching with the file extension.' Also note, my workbook sheet for the CSV is not called 'Sheet1' so I don't know if that is having an impact on it. Please help ASAP :(

Article URL

(https://learn.microsoft.com/en-us/office/dev/scripts/resources/samples/convert-csv

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions