What is a 'Macro Virus'

A macro virus infects a software program and causes a series of actions to begin automatically when the program is opened. It operates like a normal macro and often installs itself in the place of an existing macro.


Macro viruses originate on the internet and infiltrate programs already stalled on a person's computer. To fully understand what a macro virus is, however, it is important to first understand what a macro is.

What Is a Macro?

A macro is a series of commands that automatically triggers a specific function within a software program. Macros can be installed in programs such as Microsoft Word in order to perform complex tasks that the program would otherwise be unable to do automatically. For example, a company can use a macro to automatically insert designed letterhead or pre-designed tables into Microsoft Word page templates, or use custom page formats that aren't available with the program by itself.

How Does a Macro Virus Infect a Program?

Macro viruses originate on the Internet, often in spam email, and infiltrate programs installed on a person's computer, such as Microsoft Office, by imitating a benign macro. They often take the place of pre-installed macros and are activated when the regular macro is executed, but they can operate even when the program is not in use without the user's knowledge. The automatic actions they trigger can range from adding text uncontrollably to a document to sending spam messages to people in the user's address books.

Macro viruses are often harmless to the computer or the program itself, but they cause confusion and frustration for the user. Once installed on a computer, they can spread across multiple programs if they're not contained.

How Does a Macro Virus Spread?

Macro viruses are encoded with the ability to spread - much like the way a virus infects a person, replicates itself, and spread to other people. A macro virus can replicate and install material on a computer without the user's knowledge or consent. If sent through email spam, it often automatically sends itself to everyone in that user's address book.

How Can You Prevent a Macro Virus?

Antivirus software is designed to find and destroy any existing macro viruses on a computer, and prevent new ones from taking root. However, not all macro viruses are detected by antivirus software, and not all antivirus software are alike. It's important to maintain up-to-date antivirus software, but it's equally important to be conscious of what you download or open from the Internet. For example, you should not open an attachment in an email sent from an address you don't know. Email spam can be easily identifiable, but it can also use tricks to make a person think the content is legitimate.

  1. Macro Risk

    Macro risk is a type of political risk in which political actions ...
  2. Macro-Hedge

    A macro-hedge is an investment technique used to mitigate or ...
  3. Macro Environment

    The conditions that exist in the economy as a whole, rather than ...
  4. Micro Accounting

    Accounting at a personal, corporate or government level. Micro ...
  5. Tactical Trading

    A style of investing for the relatively short term based on anticipated ...
  6. Driver

    A driver is a factor that has a material effect on the activity ...
Related Articles
  1. Investing

    Macro Funds Struggle, Even With Trump Rally

    Despite expectations of success in the new year, macro funds have struggled to deliver.
  2. Financial Advisor

    Microeconomics Vs. Macroeconomics

    Economics is divided into two broad categories: micro and macro. Find out what the difference is between them and where they overlap.
  3. Insights

    Bull Or Bear, You Should Know Investment Defense Techniques

    Learn how to protect yourself from the potential risks that can impact a company's share price - and your investments.
  4. Investing

    4 Strategies Only Hedge Funds Dare Use

    Learn why investing strategies employed by hedge funds may result in steep losses and are not appropriate for most retail investors.
  5. Tech

    How to Keep Accounts Safe From Cyber Criminals

    With the advancement of financial technology online comes the risk of criminals who try to hack your accounts. Here's how to protect yourself.
  6. Insights

    6 Ways To Protect Yourself Against Cybercrime

    Cybercrime is becoming more and more serious in the U.S. Here are some ways you can protect your finances from cybercriminals.
  7. Trading

    Forex Automation Software For Hands-Free Trading

    Automated forex trading software scans the market for favorable trades based on your input. Find out more about this valuable forex tool.
  8. Investing

    Finding Value In A Sideways Market

    When the market is non-directional, your profit potential need not go sideways too.
  9. Investing

    Zika May Be a $1 Billion-Plus Blockbuster (INO)

    The Zika virus vaccine is already regarded as a potential industry blockbuster even though the treatment is still under development.
  10. Personal Finance

    6 Free Alternatives To Your Favorite Software

    State-of-the-art software is expensive, but some of the free alternatives are giving them a run for their money.
  1. What can a multinational company do to minimize exposure to political risk?

    Political risk is the risk that a country will make political decisions that have adverse effects on corporate profits. Learn ... Read Answer >>
  2. What is the best software for calculating the cash budget of an individual?

    Explore the options and features of several leading personal finance tools to find the best software for calculating your ... Read Answer >>
  3. Why was Microsoft subject to antitrust charges in 1998?

    On May 18, 1998, the Department of Justice filed antitrust charges against Microsoft (Nasdaq:MSFT ). The charges were brought ... Read Answer >>
  4. What is a "phishing scam" and how can they be avoided?

    The term phishing (as in fishing for confidential information) refers to a scam that fraudulently obtains and uses an individual's ... Read Answer >>
Hot Definitions
  1. Federal Funds Rate

    The federal funds rate is the interest rate at which a depository institution lends funds maintained at the Federal Reserve ...
  2. Call Option

    An agreement that gives an investor the right (but not the obligation) to buy a stock, bond, commodity, or other instrument ...
  3. Standard Deviation

    A measure of the dispersion of a set of data from its mean, calculated as the square root of the variance. The more spread ...
  4. Entrepreneur

    An entrepreneur is an individual who founds and runs a small business and assumes all the risk and reward of the venture.
  5. Money Market

    The money market is a segment of the financial market in which financial instruments with high liquidity and very short maturities ...
  6. Perfect Competition

    Pure or perfect competition is a theoretical market structure in which a number of criteria such as perfect information and ...
Trading Center