Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

The Document Inspector found one or more of the following items that may contain hidden data in your Office document (Word, Excel, or PowerPoint):

  • Macros (including any WordBasic macros in Word documents or Excel 4.0 Macro Sheets (XLM) in Excel workbooks)

  • VBA modules

  • COM or ActiveX controls

  • User Forms (including any Excel 5.0 Forms in Excel workbooks)

  • User-Defined Functions (UDFs) in Excel workbooks

Issue

The Document Inspector can't remove these items for you, because removing these items may cause your document to stop working properly.

Recommended solution

  1. Close the Document Inspector.

  2. Manually remove any macros, VBA modules, COM or ActiveX controls, user forms, or UDFs that might have hidden data from your document.

    Here's how you can find macros and VBA modules in your document:

    • In Word or Excel, click View > Macro > View Macros.

      In PowerPoint, click View > Macro.

      In the Macro box, pick the macro you want to remove and click Delete.

    • Press Alt+F11 to find macros in the VBA Editor.

  3. To verify the issue is resolved, click File > Info > Check for Issues, and click Inspect Document.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×