Please explain Control Toolbox

dave8

Active Member
Joined
Jul 8, 2007
Messages
275
I notice there are two Control Toolboxes. One for forms and one for ActiveX. For example, what is the difference between the ComboBox tool in the Forms Control and the ComboBox in the ActiveX?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Welcome to the Board!

Forms controls are the more rudimentary of the two controls and can't be coded directly. Instead you assign code to them. They are very good if you want to do the same thing on multiple sheets, i.e. a command button to do something. If you draw one on a sheet and assign code to it, you can copy it to anywhere else and do nothing more than that.

You are also limited in the amount of formatting you can do with them.

ActiveX controls are more robust and you code them directly in the sheet module in which they're placed. Although you can reference general subs from them to get similar functionality to a Forms control. You also have substantially more options with regards to formatting.

Jon Peltier has a good write up on them here: http://peltiertech.com/WordPress/forms-controls-and-activex-controls-in-excel/

HTH,
 
Upvote 0

Forum statistics

Threads
1,215,387
Messages
6,124,637
Members
449,177
Latest member
Sousanna Aristiadou

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top