Macro virus mainly in Office software office in the presence of the vast number of users caused a large loss. Use the following three strokes to stay away from macro viruses (this article takes word for example).
First trick: Set macro security Level
Open Word and select the tools → options → security → macro security command. This turns on the macro Security Level property setting option, which changes the security level from the default high to very high, and then clicks OK. This prevents macros from running other than the default macros in Word.
The second trick: Run macro virus automatic prompt
Open Word, select the tools → options → security → macro security command, click the Trusted Publishers tab, deselect the Trust all installed add-ins and templates check box, and then click OK. This prompts the macro to be disabled when you open a Word document that contains macros. Of course, it's also possible to limit the use of normal macros.
The third recruit: Uninstall VBA thoroughly prevent macro virus
The VBA full name is the Visual Basic for application, which is the macro language version of Microsoft Visual Basic. Macros for use with Windows applications. is the support kit for macros in Word, and once this package is disabled, some custom templates and all macros will not be available.
How to: Double-click the Add/Remove Programs icon in Control Panel. Locate the installation items for Microsoft Office, click the Change button, select the Add or Remove Features option, click Next, and select the Choose advanced Customization for Application checkbox in the pop-up window. Then click the Next button so that you can choose to delete the toolkit.
In the Open Office programs and additional content and tools, click the plus sign before Office Shared features, locate Visual Basic for application, click the drive icon earlier, and then select the Do not install button.
Through the above three strokes, macro virus will be far away from your office, here is a word for example, in fact, the same applies to Excel.