MarlonVisser0408
New member
- Local time
- Tomorrow, 00:54
- Joined
- Mar 4, 2025
- Messages
- 28
I've been playing around with VBA and the button macro to create a more application like experience. What I'm trying to do is make the right side respond to the actions in the menu. For example, if I want to add someone new to the list, I want it to close or hide the current open form and to open or unhide the form that adds someone to the list.
What I'm curious to, is what the proper ways are to make this happen? I was hoping that the macro would allow it through the IF -> SetProperty function and playing with the visible property. However, it suddenly started breaking on me telling me: "Object or class does not support the set of events". Considering that I've ran into this on my own and started using it to solve my problems, I've started wondering if there are not better or more proper ways of handling this.
*Note* I'm still playing around with the gray real estate. But no matter if I put the form inside another form that holds it own menu; it shouldn't really matter.
Please, if you reply with ways of doing this; don't be afraid to give a little information. I'm pretty new to the coding/macro side of Access and only been tipping my toes for a little while.
What I'm curious to, is what the proper ways are to make this happen? I was hoping that the macro would allow it through the IF -> SetProperty function and playing with the visible property. However, it suddenly started breaking on me telling me: "Object or class does not support the set of events". Considering that I've ran into this on my own and started using it to solve my problems, I've started wondering if there are not better or more proper ways of handling this.
*Note* I'm still playing around with the gray real estate. But no matter if I put the form inside another form that holds it own menu; it shouldn't really matter.
Please, if you reply with ways of doing this; don't be afraid to give a little information. I'm pretty new to the coding/macro side of Access and only been tipping my toes for a little while.