MichaelSchulz
Board Regular
- Joined
- Apr 10, 2014
- Messages
- 64
I know how to code for controls placed on a sheet, both form controls and ActiveX.
And I know how to create and code for a UserForm.
But here is where I am having a problem:
I have inserted a Microsoft Form 2.0 onto an Excel Sheet. On that form, I have placed a Command Button.
I cannot find how to code for the click event of that button. The same is true for any other controls placed on the form.
I can view code for the form and write code for that, e.g. clicking on the form itself.
But when I try to view code for any control on the form, that option is greyed out.
What do I need to do for my code to reach the controls on a Form 2.0?
And I know how to create and code for a UserForm.
But here is where I am having a problem:
I have inserted a Microsoft Form 2.0 onto an Excel Sheet. On that form, I have placed a Command Button.
I cannot find how to code for the click event of that button. The same is true for any other controls placed on the form.
I can view code for the form and write code for that, e.g. clicking on the form itself.
But when I try to view code for any control on the form, that option is greyed out.
What do I need to do for my code to reach the controls on a Form 2.0?