> For the complete documentation index, see [llms.txt](https://docs.swingsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.swingsoftware.com/integrator-for-notes/error-messages/swdocumentlib-sw_openmsword-55-9999-message.md).

# "SwDocumentLib - SW\_OpenMSWord 55-9999" message

**Description:**

The following error message appears:

SwDocumentLib - SW\_OpenMSWord\
55-9999;\
SwDocumentLib - SW-SETLANGUAGEPROPERTIESWORD ->25\
SwDocumntLib - SW-RUNVBMACRO -> 9

213 - Microsord Word:  Unable to run the specified Macro.

**Solution:**

This error occurs if the macro security in MS Word is not set correctly.You can try any of the following:

1\) Check whether you have SWING integrator template loaded in MS Word (Tools -> Templates and Add-ins).

[![](https://sites.google.com/a/swingsoftware.com/lc/_/rsrc/1334218904724/integrator/error-messages/-swdocumentlib---sw_openmsword-55-9999-message/01-Templates.jpg)](https://sites.google.com/a/swingsoftware.com/lc/integrator/error-messages/-swdocumentlib---sw_openmsword-55-9999-message/01-Templates.jpg?attredirects=0)

2\) There is a known issue with SnagIt screen capture software and SWING Integrator. If you have SnagIt installed on your computer, try downloading the latest version of Integrator (in which this issue is resolved) or uninstall SnagIt and check the functionality again.

3\) Try enabling macros in MS Word:

(Office 2003 example )\
&#x20;   1\. Go to Tools -> Options\
&#x20;   2\. On the Options form, click on Security tab\
&#x20;   3\. On the bottom of the Security form click on "Macro Security..." button\
&#x20;   4\. On newly opened Security window click on "Security Level" tab\
&#x20;   5\. Set "Medium" or "Low" radio buttons.

[![](https://sites.google.com/a/swingsoftware.com/lc/_/rsrc/1334218904724/integrator/error-messages/-swdocumentlib---sw_openmsword-55-9999-message/02-options.jpg)](https://sites.google.com/a/swingsoftware.com/lc/integrator/error-messages/-swdocumentlib---sw_openmsword-55-9999-message/02-options.jpg?attredirects=0)

&#x20;   6\. Click "Trusted Publishers" tab\
&#x20;   7\. Select "Trust all installed add-ins and templates" checkbox

[![](https://sites.google.com/a/swingsoftware.com/lc/_/rsrc/1334218904725/integrator/error-messages/-swdocumentlib---sw_openmsword-55-9999-message/03-security.jpg)](https://sites.google.com/a/swingsoftware.com/lc/integrator/error-messages/-swdocumentlib---sw_openmsword-55-9999-message/03-security.jpg?attredirects=0)

&#x20;   8\. Click OK and Restart MS Word<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.swingsoftware.com/integrator-for-notes/error-messages/swdocumentlib-sw_openmsword-55-9999-message.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
