
Not all ActiveX controls can be used directly on worksheets some can be used only on Visual Basic for Applications (VBA) UserForms. Your computer also contains many ActiveX controls that were installed by Excel and other programs, such as Calendar Control 12.0 and Windows Media Player.
#Activex for mac excel code
When a user of the form interacts with the control, your VBA code then runs to process any events that occur for that control. You can also write macros that respond to events associated with ActiveX controls. For example, you can perform different actions, depending on which choice a user selects from a list box control, or you can query a database to refill a combo box with items when a user clicks a button. You can also control different events that occur when an ActiveX control is interacted with. ActiveX controls have extensive properties that you can use to customize their appearance, behavior, fonts, and other characteristics. In general, use ActiveX controls when you need more flexible design requirements than those provided by Form controls. Workbooks with Form Controls will happily work on a an Apple Mac.ĪctiveX controls can be used on worksheet forms, with or without the use of VBA code, and on VBA UserForms.

This means that if you are sharing your workbook with an Apple Mac user using Excel for Mac these functions wont be available as Active X isn’t available on that Platform.

The main limitation of Active X controls are that they use a Microsoft Active X component. They also have much better ties to VBA in terms of programmability and have a number of events that can be accessed programmatically. Active X controls are like Form Controls on Steroids in that they have a much wider range of properties than Form Controls.
