Hi Wulluby,
This is interesting... I know that this routine was tested, as I used it for years. I just tested in 2010 though, and I'm getting the same error.
Looking at the logic, the addin gets saved, then a copy is saved elsewhere. So there's really no reason to do a SaveAs over the old version, just a save will suffice. I stepped through the code just to make sure, and the path of the development path is preserved throughout.
So I'd recommend deleting that SaveAs line.
Thanks for mentioning this... I'll fix up the article!
Bookmarks