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

Allow to change codeName attribute in workbookPr #179

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

nikvoid
Copy link
Contributor

@nikvoid nikvoid commented Feb 14, 2024

Add a way to change workbook codeName attribute when saving spreadsheet. This allows to use dumped vbaProject code in Workbook object as-is.

Example with default codeName :
image
Notice that there are Workbook________ (imported code) and Workbook________1 (new) objects. And imported code is in first one, which is not active, so user needs to manually copy code.

If we change codeName to Workbook________:
image
No Workbook________1 entry and code now is working out of the box.

@MathNya MathNya merged commit 6e2e98d into MathNya:master Feb 16, 2024
1 check failed
@MathNya
Copy link
Owner

MathNya commented Feb 16, 2024

@nikvoid
Thanks for the PR.
We will merge them.

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

Successfully merging this pull request may close these issues.

2 participants