3

Word (.docx) files can be dangerous. I often receive word files from other people, which may or may not be safe. For the most part, I am only interested in getting the textual content, like text and tables with their format, equation objects, (and maybe images).

My question is:

Is there a safe, external way to remove dangerous contents (e.g. macros and other active contents) from word files without opening them in MS office?

The outcome I am looking for in the end, ideally, is a "static" word file that looks the same or similar in appearance, without any "active" content. Also, ideally, this solution should be external to allow batch processing of multiple word files, and to avoid the risk of opening untrusted file in office.

Thanks.

0

You can disable their execution by using the Trust Center:

In Word's "Options", click on "Trust Center" and set the level of security you want. (Note that it automatically trusts "trusted locations" whatever that means - so consider whether you are fine with that.)

For more information see this link.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.