On a phone? Word for iPhone and Android can’t run add-ins. GenText also works in your browser: rephrase, summarize or draft text. Free plan.
Use GenText in your browser →Steps below. GenText also works in this same Word window: rephrase or summarize the text you select, draft from a heading, or find research papers to cite. Free plan.
Add GenText to Word →Tired of Word's quirks? Try GenText in your browser →
Fix: Macro/Virus Warning on Clean Files
Quick Answer
A macro warning means Word found VBA code in the document or in its attached template, even if you never added a macro. Check whether the file is .docm or .doc, look at Developer > Document Template for a .dotm or .dot template, and save a copy as Word Document (.docx) to drop any code. Do not click Enable Content unless you trust the sender.
Use GenText in your browser →
On a computer or iPad? Add GenText to Word →
Macro/Virus Warning on Clean Files
Word only shows a macro warning when it finds VBA code to block. A document can carry code without you seeing it: an old .doc or a .docm file may contain an empty or leftover VBA project, or the document may be attached to a template that holds macros. Files from the internet get an extra layer of blocking. The steps below identify which case you have.
Quick Solution
If you do not need any macros in the file, remove them by saving a clean copy:
- Go to File > Save As (or Save a Copy).
- Choose Word Document (*.docx) as the file type and save.
- If Word warns that the VBA project cannot be saved in a macro-free document, confirm to save without it.
- Close and open the new .docx file. The macro warning should not appear.
Step-by-Step Fix
-
Identify the warning. Not every yellow bar is a macro warning.
- PROTECTED VIEW means the file came from the internet or an email and is read-only until you select Enable Editing. That is not about macros.
- SECURITY WARNING with an Enable Content button means macros were disabled by the Trust Center setting Disable all macros with notification (the default).
- SECURITY RISK means Microsoft blocked macros because the file came from the internet. This banner has no Enable Content button.
-
Check the file extension. A .docx file cannot store macros. If the file is .docm (macro-enabled) or an old .doc, it can contain a VBA project even if it does nothing useful. Saving as .docx removes it (see Quick Solution).
-
Check the attached template. On the Developer tab, select Document Template. If the attached template is a .dotm or .dot file from a colleague, a vendor, or an old system, its macros can trigger the warning. If you do not need it, change the attached template to Normal and save the document. To show the Developer tab, go to File > Options > Customize Ribbon and check Developer.
-
Look for global templates and add-ins. In the same Templates and Add-ins dialog, review the Global templates and add-ins list. Uncheck any you do not recognize, then restart Word.
-
Files from the internet or email. If you trust the file and it really needs its macros, close it, right-click the file in File Explorer, select Properties, and check Unblock on the General tab. This removes the Mark of the Web. Only do this for files from a source you trust.
-
Files you open often from a trusted folder. Instead of unblocking each file, your IT team can set up a Trusted Location in File > Options > Trust Center > Trust Center Settings > Trusted Locations. Files in a trusted location are not checked by the Trust Center, so use it sparingly.
What not to do
- Do not switch the Trust Center to Enable all macros. Microsoft marks that setting as not recommended because potentially dangerous code can run.
- Do not click Enable Content on a file you did not expect, even if it looks like a normal document.
- If your organization manages macro policies, the options above may be locked; contact IT.
Mac and web
The internet-macro blocking described above applies to Office on Windows. Word for the web does not run VBA macros. On a Mac, saving a copy as .docx also removes macros from the document.
Further reading
- Macros from the internet are blocked by default in Office (Microsoft Learn)
- Enable or disable macros in Microsoft 365 files (Microsoft Support)
- What is Protected View? (Microsoft Support)
On a phone? Word for iPhone and Android can’t run add-ins. GenText also works in your browser: rephrase, summarize or draft text. Free plan.
Use GenText in your browser →Steps below. GenText also works in this same Word window: rephrase or summarize the text you select, draft from a heading, or find research papers to cite. Free plan.
Add GenText to Word →Writing in Word? Add GenText
Rephrase or summarize the text you select, draft a section from a heading, or find peer-reviewed papers to cite, without leaving your document. Free plan, no credit card.
Install free →On a phone? Word for iPhone and Android can’t run add-ins. GenText also works in your browser: rephrase, summarize or draft text. Free plan.
Use GenText in your browser →Free citation reference by email
APA, MLA, Chicago, Harvard and IEEE examples in one reference.
The resource is in English, in the email body. You can save or print the email.
Your resource request does not sign you up for tips. Existing email preferences stay unchanged unless you ask to change them. Privacy.
Request received
Please check your inbox for the resource email. If it does not arrive, check your spam folder or contact support@gentext.ai.