A virus written in the programming language of a word processor, spreadsheet, or similar application. Whereas program viruses attach themselves to executable files, macro viruses attach themselves to documents or spreadsheets and run whenever their host document is opened.