Referencing MSXML 5.0 within VBA Projects

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office

Referencing MSXML 5.0 within VBA Projects

MSXML 5.0 can be used when working within applications that support Visual Basic for Applications (VBA), such as Microsoft Office 2000 or Microsoft Office XP.

For example, to set a reference to MSXML 5.0 in a VBA project within Word 2000 or Word XP, do the following:

  1. Open Word 2000 or Word XP.
  2. From the Tools menu, point to Macros, and then select Visual Basic Editor.
  3. From the Tools menu in Visual Basic Editor, select References.
  4. In the list of available references, select Microsoft XML, v 5.0.
  5. Click OK.

Once this reference is made, you can call and use MSXML 5.0 application programming interfaces directly from within your VBA project code modules.