https://github.com/TheMayoras/VBA-Helpers
Some VBA classes I found useful
https://github.com/TheMayoras/VBA-Helpers
Last synced: 3 months ago
JSON representation
Some VBA classes I found useful
- Host: GitHub
- URL: https://github.com/TheMayoras/VBA-Helpers
- Owner: TheMayoras
- License: mpl-2.0
- Created: 2020-03-05T00:37:25.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-05T12:59:23.000Z (almost 5 years ago)
- Last Synced: 2024-08-13T07:18:14.514Z (6 months ago)
- Language: VBA
- Size: 18.6 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - TheMayoras/VBA-Helpers - Some VBA classes I found useful (VBA)
README
# VBA-Helpers
These are some homemade classes and modules that I have made and re-used in all my large VBA projects. Most of these classes are used in Access, but I do not see any reason why they can't be used in other MS Office applications.# CEventBoxManagerForm/CEventBoxManagerReport
Use these classes when you want to gather data from a different form without having to use global variables and the like. I use these classes more than any other. The most common workflow for these classes is to open a open the form in a button's `OnClick` event. Then when the form is closed, you can gather the data from the form by using the `BeforeFormClose` event. These classes do a lot of the dirty work for me.# PublishVersion
I use this module to publish my `.accdb` files as `.accde`. It also allows me to make every form a `pop-up` (which I prefer), and add a `Me.Move 0, 0` to the load event forms and reports. Adding `Me.Move 0, 0` prevents them from disappearing when they are opened.