Hello, I'm new to this forum and this is my first post. I would like help with something I can't figure out, when my form opens I'd like the submit button grayed out until an option button selected. Thank you for your help in advance.
Hello, I'm new to this forum and this is my first post. I would like help with something I can't figure out, when my form opens I'd like the submit button grayed out until an option button selected. Thank you for your help in advance.
Change the default 'enabled' property for the button (in the properties window) to false, orin the forms initialization event. Then in the option buttons click event:![]()
'mybuttonname'.enabled = false
![]()
'mybuttonname'.enabled = true
Thanks,
Solus
Please remember the following:
1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.Highlight the code in your post and press the # button in the toolbar.2. Show appreciation to those who have helped you by clickingbelow their posts.
3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.
"Slow is smooth, smooth is fast."
Thank you XeRo Solus, that works great.
No problem. And welcome to the forum.
If you are satisfied with the solution, please mark the thread as [SOLVED] by clicking the 'Thead Tools' drop down at the top of the thread.
And you can always say thank you to those who have helped you by adding reputation. To add reputation click the * below the post of anyone who helped you.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks