Please explain Control Toolbox

dave8

Active Member
Joined
Jul 8, 2007
Messages
267
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?
 

Some videos you may like

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

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,
 

Watch MrExcel Video

Forum statistics

Threads
1,108,579
Messages
5,523,700
Members
409,532
Latest member
Lmfacc

This Week's Hot Topics

Top