Friday, December 3, 2010

Understanding ActiveX controls in a document MS Word using VBA

ActiveX controls are the code that developers create once and were then reusable for developers, programs, service providers and other ActiveX controls.

VBA is a programming whose foundation based on this framework and makes heavy use of ActiveX controls to extend the functionality of Microsoft Office, including Microsoft Word language. ActiveX controls can referenced or simply drawn and are placed in a user form in Microsoft Word. The form of the user is an ActiveX control. Level of difficulty: Moderately easy

Instructions
  1. 1

    Open Microsoft Word.

  • 2

    Go to "Tools" and "Macro", and then click "Visual Basic".

  • This will open the VBA programming environment.
  • 3

    "Paste" and select "User form".

  • This creates a new form of the user and opens the dialog window "Toolbox".
  • 4

    The "Toolbox" dialog box, click ActiveX controls, and draw on the "user form."

  • It is a way to find and use ActiveX controls.
  • 5

    Go to "Settings" and click on "Reference".

  • This is a list of ActiveX controls and DLLs.
  • 6

    Go to "Settings" and click on "additional controls."

  • This is another list of ActiveX controls. If you select one and you click "OK" in the "Toolbox"; appears You can use in your application.

    No comments:

    Post a Comment