hilkoc / vbaDeveloper

Tools for development and version control of vba code
MIT License
510 stars 138 forks source link

Module not importing and exporting automatically #8

Open lawmauwa opened 9 years ago

lawmauwa commented 9 years ago

I have added vbaDeveloper as an "add-in" in Excel. It does not import module in /src/vbaDeveloper.xlam automatically when opened or export when I click "save". I need to click "Export code for ...." manually at the ribbon button.

Am I missing some steps in config?

frankiexo commented 9 years ago

You have to uncomment code in vbaDeveloper.xlam\ThisWorkbook.sheet.cls and you have to manually load all 3 cls files in the same folder.

After this step the automatic import and export work well.

Nevertheless I had another issue. Excel would like to import code to the vbaDeveloper add-in itself each time when I open any or new file. I had to modify the EventListener module to ignore "vbaDevoloper.xlam"

ova13lastar commented 9 years ago

Same issue than frankiexo !

Schaltfehler commented 9 years ago

Also in case you are using the 2007 version, there seems to be no AfterSave Event in this version, therefor the export routine wouldn't be called.