Dynamically Added Control

G

Guest

I am building a form that dynamically adds a frame and set of radio buttons.
The number and name of the buttons will vary depending on how many cells are
filled in. What I want to do is then add some code to these radio buttons at
run time.

How do you add code to a control that is added at run time? The code I want
to attach to the control will, obviously, be written at design time.

Thanks in advance.
 
D

Dave Peterson

Have you thought about designing the userform for the worst case scenario?

Hide the buttons/frame/whatever. And only show what you need. Depending on
what you're doing, it may make your life a bit easier.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top