How to add textbox/buttons to an UserForm

T

Terence

Hi,

I am trying to add an UserForm to my Excel macro and it is
for displaying data by some textboxes on it. However, how
can I add the buttons/textboxes on the form? I can't find
the ControlTool box tool bar in the VB Editor....
Can anyone help? Thanks a lot!

Terence
 
B

Bob Phillips

Terence,

I think that Patrick thought you wanted to add these controls dynamically
whilst the form was up.

In design mode, there most certainly is a toolbox to add con trols from. In
the VB IDE, goto menu View>Toolbox, and click it. You should so a familiar
controls toolbox pop up, and although it's not drag and drop, you just
click a control to activate it, and then draw it on the form.
 
T

terence

Thanks a lot!
-----Original Message-----
Terence,

I think that Patrick thought you wanted to add these controls dynamically
whilst the form was up.

In design mode, there most certainly is a toolbox to add con trols from. In
the VB IDE, goto menu View>Toolbox, and click it. You should so a familiar
controls toolbox pop up, and although it's not drag and drop, you just
click a control to activate it, and then draw it on the form.

--

HTH

Bob Phillips




.
 

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