Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RelType = "customXML" hits SET STEP ON #83

Open
pivoten-psherwood opened this issue Apr 2, 2023 · 10 comments
Open

RelType = "customXML" hits SET STEP ON #83

pivoten-psherwood opened this issue Apr 2, 2023 · 10 comments

Comments

@pivoten-psherwood
Copy link

I have a sheet that hits the SET STEP ON because it has a relType of customXML.

Is there a fix for this yet? Not sure why this sheet has that. Running an older version of XLSX-Workbook-Class works.

@ggreen86
Copy link
Owner

ggreen86 commented Apr 3, 2023 via email

@pivoten-psherwood
Copy link
Author

pivoten-psherwood commented Apr 3, 2023 via email

@pivoten-psherwood
Copy link
Author

@ggreen86
Copy link
Owner

ggreen86 commented Apr 3, 2023

Thank you for the sample file. You have a number of 'extra' files that are being added to the xlsx file (probably by Excel) that looks like they are for SharePoint or OneDrive support. I had commented out the handling of these non-standard files in the OpenXlsxWorkbook() method as I have not fully tested the adding of these to the xl_* cursor definitions. I will look into including these files at some point in the future.

For now, these files are excluded when the spreadsheet is resaved. Note: the SET STEP ON does not execute in the run-time environment of VFP (it only executes in the dev-time environment).

@ggreen86 ggreen86 closed this as completed Apr 3, 2023
@pivoten-psherwood
Copy link
Author

pivoten-psherwood commented Apr 3, 2023 via email

@ggreen86
Copy link
Owner

ggreen86 commented Apr 3, 2023

I just tried to open and then save to a new xlsx file name. I successfully opened the file (without the custom types) and then saved to a new file name. Attached is the file that I saved.

ASPIRE_03.2023_01.2023.xlsx

@ggreen86 ggreen86 reopened this Apr 3, 2023
@pivoten-psherwood
Copy link
Author

I was able to do the same. This came from a client so I'm not sure of the workaround. Since I don't know what is adding these extra files I don't know how to tell them to correct it. Can the OpenXLSXWorkbook method just ignore these?

@ggreen86
Copy link
Owner

ggreen86 commented Apr 4, 2023 via email

@pivoten-psherwood
Copy link
Author

pivoten-psherwood commented Apr 4, 2023 via email

@pivoten-psherwood
Copy link
Author

I noticed that somewhere along the way SHEETCNT got dropped from xl_workbook. The diagrams still show it but it's not in the table. I was able to get around it but was curious when that dropped out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants