Microsoft Office 2000 Developer |
Before you can use any of the controls provided with Microsoft Office 2000 Developer, you must activate them. Then, once a data source has been created, you can place controls on any container form that is capable of hosting an ActiveX control.
The process for inserting controls on a host document is slightly different than for inserting controls on a UserForm in a VBA project.
For more information about using controls to display data, see Displaying Data from a Data Source.
To activate controls on UserForms in your VBA project
Note The list is dynamically created, and many controls that appear will have been installed by various applications or downloaded from the Internet. However not all controls are suited to be placed in the host containers listed earlier. Doing so can result in unexpected behavior.
Once the control is activated, an icon for that control is added to the Toolbox.
To insert controls on your UserForm
You can also insert controls directly into your host document. For example, you can draw a DataList control on your Excel spreadsheet.
To activate and insert controls in your host document
Note The list is dynamically created, and many controls that appear will have been installed by various applications or downloaded from the Internet. However not all controls are suited to be placed in the host containers listed earlier. Doing so can result in unexpected behavior.
Note In Word, the control is added automatically to your page.