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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Smitty

Legend
Joined
May 15, 2003
Messages
29,536
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,
 

Forum statistics

Threads
1,175,752
Messages
5,899,276
Members
434,759
Latest member
carcharoth

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
Top