spences10 / VBA-IDE-Code-Export

Export & Import VBA code for use with Git (or any VCS)
MIT License
120 stars 34 forks source link

Cannot run import twice in a row #52

Open mattpalermo opened 7 years ago

mattpalermo commented 7 years ago

An error occurs if I have a userform and I run import twice. Error number 60061.

spences10 commented 7 years ago

So, as it is at the minute it'll just try to add the form back over the pre existing one if it's already in there

So, check to see if the form is there, delete it if so then import?

mattpalermo commented 7 years ago

That sounds right. Have you had this problem before? This error surprised me a bit, I thought I had tried this before.

spences10 commented 7 years ago

Maybe we could add this along with the change for 'validate everything is exported before deleting stuff' change.

There is an issue for that isn't there @mattpalermo? I'll add it if there isn't, that's quite an important change that.

mattpalermo commented 7 years ago

I think you're looking for issue #30. I think that issue #52 is a different topic since it is a problem with the ability to import a user form. Issue #30 seems more about the order that the export task is done.