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

Prevent publishing code to worksheets that don't exist #24

Closed
hectorticoli opened this issue Apr 30, 2017 · 2 comments
Closed

Prevent publishing code to worksheets that don't exist #24

hectorticoli opened this issue Apr 30, 2017 · 2 comments
Assignees

Comments

@hectorticoli
Copy link

Hi chelh,

I work with several versions of files, with different worksheets, and same VBA code. I published a worksheet that didn't exist in the Office file. It gives the following result:
publishtomissingworksheets

You can notice the icon related to Feuil4, and the (Name) property that doesn't match (actually, it is "ThisWorkbook"), and the worksheet can't be deleted.

Thanks!

@hectorticoli
Copy link
Author

hectorticoli commented May 3, 2017

Tested OK on version 2.1.2.

I know that's out of the scope of the tool, but can you tell me if that's possible to "clean" Office files from the "bad" imported sheets? Maybe as command-line, or as another tool?

Thanks

@hectorticoli
Copy link
Author

Never-mind, I found a way to clean the file with version 2.1.2 (simply delete the file from the folder, and publish the change to the Office file) !

@chelh chelh closed this as completed May 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants