A macro virus infects documents, such as Word or Excel files, and is activated whenever the infected document is opened. The macro virus uses the macro programming languages built into these documents to replicate and perform malicious actions. This virus can be difficult to distinguish from legitimate macro programming languages and can be hidden within legitimate documents.