How to Add an Object Library Reference in VBA

In this article, we introduce the detailed steps on how to quickly add an object library reference to your VBA editor in Word.

In most cases, you may have used like Outlook or some other applications in Word. And adding a relative object library reference is the first and foremost step. In this instance, we present detailed steps for you to realize it. Now,  follow us please.

Detailed Steps

  1. First of all, click “Visual Basic” in the “Developer” tab, or you can also simply press  shortcut “Alt” + “F11” to open VBA editor.Open Visual Basic
  2. Then click “Tool” in the menu.
  3. Next click “References” from the drop down list to open the “References-Project” dialog box.Add "References"
  4. Hence you can select the references you want under the “Available References”.( Here we take “Microsoft Outlook 14.0 Object Library” for an example.)
  5. In addition, you’d better to click the up-arrow to let your choice take priority for the next use, .
  6. Finally, click “OK”.Select Object Library
  7. From right now, the Microsoft Outlook Library is successfully added into the VBA editor. So you can use it freely.
  8. In addition, you can also repeat these steps to add other object library references as desired.

 

Author Introduction:

Micky Ao is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including Excel recovery and pdf repair software products. For more information visit www.datanumen.com

Comments are closed.