VBA-IDE-Code-Export icon indicating copy to clipboard operation
VBA-IDE-Code-Export copied to clipboard

Cannot run import twice in a row

Open mattpalermo opened this issue 8 years ago • 4 comments

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

mattpalermo avatar Feb 15 '17 05:02 mattpalermo

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?

spences10 avatar Feb 15 '17 10:02 spences10

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

mattpalermo avatar Feb 15 '17 11:02 mattpalermo

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.

spences10 avatar Feb 15 '17 11:02 spences10

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.

mattpalermo avatar Feb 15 '17 11:02 mattpalermo