If you see this when you open a Microsoft Word document

BLOCKED CONTENT The ActiveX content in this file is blocked.  Learn more

Steps to enable Microsoft VBA/ActiveX controls within your Microsoft Word Document(s)

See https://support.microsoft.com/en-us/office/activex-controls-are-disabled-by-default-in-microsoft-365-and-office-2024-9cae60f8-478c-42c6-978c-eca072525d64

  1. Select File, then Options.
  2. Select Trust Center, then the Trust Center Settings button.
  3. Select ActiveX Settings, then make sure Prompt me before enabling all controls with minimal restrictions.
  4. Select OK, then OK again to save your settings and go back to your document. NOTE: AFAIK I didn’t need to actually save the word document to effect the changes.
  5. Close and re-open your document and the VBA macros will be working (again).

Rational

I have created custom macros in personal word *.docm documents. NOTE: *.docm documents are Microsoft Word documents that are known to have macros in them. So they are like *.docx but with macros and hence less safe.

I have what is basically a Word Application written using VBA (Visual Basic for Applications).

One day, the macro’s stopped working, so something Microsoft released prevented the macros embeded within the *.docm document from working.

I had to track down how to get my Word App working again and this page documents how I did that.


<
Previous Post
Disable google login popup
>
Blog Archive
Archive of all previous blog posts