Excel isn't saving VBA reference -
i created excel .xlsm file bunch of functionality in vba modules/classes , i've decided separate out code because shared across 4 different sites.
i saved vba_code.xlsm shared location , created 4 different sitexyz.xlsm files.
in each sitexyz.xlsm file go "tools | references" menu in vba editor , add reference shared vba_code.xlsm @ shared file location \share_location\filelocation\vba_code.xlsm
at point, tested out functions in sitexyz.xlsm , work fine.
however, every time saved sitexyz.xlsm, closed excel , reopened file lose reference vba_code.xlsm file.
how can keep vba references saved sitexyz.xlsm file?
the usual method of achieveing saving vba_code.xlsm addin (xla or xlam) , storing in shared location, adding addin excel in 4 different sites.
you can extend approach using own addin loader instead of excel's.
there working example of addin loader @ http://www.decisionmodels.com/downloads.htm
Comments
Post a Comment