cognidox / OfficeToPDF

A command line tool to convert Microsoft Office documents to PDFs
https://www.cognidox.com/
Other
618 stars 141 forks source link

Did not Convert when Excel filename contains square brackets #72

Open dorley opened 3 years ago

dorley commented 3 years ago

Using latest OfficeToPDF version (1.9).

When try to convert a sample excel file it return error code 513 and error message "Did Not Convert".

OfficeToPDF Feedback Sample[].xlsx

devvtm commented 2 years ago

Did not convert is 512 error code

512 - Unable to use an empty worksheet

vittala commented 2 years ago

I believe this is a restriction caused by Excel itself. See https://support.microsoft.com/en-us/topic/error-message-when-you-open-or-save-a-file-in-microsoft-excel-filename-is-not-valid-951229f3-dc14-980f-765e-224e4fdc7331