Hello,
Thank you for using our Microsoft Community.
I understand that you have a malicious virus in your document, please don't worry, we can use Windows Defender to protect your computer.
Scan an item with Windows Security (microsoft.com)
- To scan specific files or folders, right-click the ones you want then select Scan with Microsoft Defender. When the scan is complete, you'll see the Scan options page letting you know the results of the scan.
- To turn on Microsoft Defender Antivirus in Windows Security, go to Start>Settings>Update & Security>Windows Security> Virus & threat protection. Then, select Manage settings (or Virus & threat protection settings in early versions of Windows 10} and switch Real-time protectionto On. Microsoft Defender Antivirus will then automatically turn on. If you're running Windows 10 for Enterprise, turn on Microsoft Defender Antivirus by uninstalling all of your other antivirus programs.
In addition, you can right-click on your document and click Scan the document with Microsoft Defender.
Hope it helps! If there is anything not clear, please do not hesitate to let me know.
Best regards,
Olivia - MSFT | Microsoft Community Support Specialist