excel vba - VBA library references not always updated when I update my libs -


i have dll + tlb release in personal folder of users regularly. piece of script un-registers old library , deletes it, copies new 1 , registers (same name, same place).

let's have workbook refers lib (tools/references in vba editor) creates few com objects lib , works. save, close it, run uninstall/install process, , reopen it. of time, still works, , can check indeed using updated lib.

however, sometimes, after update, code instantiates com objects contained in lib fails, saying activex object can't created. found in case, editing vba (adding couple of spaces), saving, , running again, solves problem...

what going on excel here ? not option ask users edit vba when happens... fyi, editing workbook not fix way editing vba !

is there way make sure excel 'refreshes' lib references?


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -