Return to site

Activex controls for excel mac

broken image

Microsoft Word implements the LostFocus and GotFocus events for ActiveX controls on a document. If you want the user to use the ActiveX controls but not change the layout of the document, protect the document by clicking the Protect Form button on the Forms toolbar. In design mode, ActiveX controls in the drawing layer are visible only in print layout view or Web layout view. A control that you add to the drawing layer is a Shape object, to which you gain access programmatically through the Shapes collection.Ĭontrols in the text layer are treated like characters and are positioned as characters within a line of text. To add a control to the text layer, hold down the SHIFT key while you click a control on the Control Toolbox.Ī control that you add to the text layer is an InlineShape object, to which you gain access programmatically through the InlineShapes collection. To add a control to the drawing layer, click the control on the Control Toolbox.

broken image

You can add ActiveX controls to the text layer or drawing layer of the document. Remember the following points when you work with controls on documents: For general information about adding and working with controls, see Using ActiveX controls on a document and Creating a custom dialog box. You can add controls to your documents to create interactive documents, such as online forms.