hilkoc / vbaDeveloper

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

Added a constant AUTO_SAVE that can be manually set #4

Closed gberl001 closed 9 years ago

gberl001 commented 9 years ago

Added a constant AUTO_SAVE that can be manually set in the Build file to allow for exporting upon save to be set as default or manual. Future ideas could be to add this as a toggle menu item so it can be turned on and off more easily. I don't have much time for it right now so I submitted a simple fix which actually wasn't mine.

Basically, I took part of the code that NealHumphrey submitted as a pull request and applied it to the latest branch. I too have a desire to set autosave or not so I figured I'd help out a little on that end.

NOTE: some of the native functions had title-case applied to them automatically by the VBA Project IDE. Aside from those, it's simply three lines of code added.

gberl001 commented 9 years ago

All in all, this is a great idea and fairly fully functional tool. I look forward to adding my own desired features and hopefully having them added.

Edit: Sorry about the close, I hit the wrong button ha ha.

gberl001 commented 9 years ago

I apologize, I made a mistake in this code. I will fix and test it before submitting another pull request.