macro

macro — noun

1. A short user-defined routine inside a software program that, when triggered, aut

1.nounB2
Definition

A short user-defined routine inside a software program that, when triggered, automatically carries out a longer series of pre-recorded actions the user would otherwise have to perform step by step.

Example

Diego created a macro that types out his full email signature with a single keystroke.

macro + that-clause for what the macro does

Rather than formatting each table by hand, Jenna wrote a macro to style all of them at once.

write a macro to + infinitive purpose

Common collocations
  • record a macro
  • run a macro
  • create a macro
  • assign a macro to a key
  • macro button
  • macro virus
Synonyms
  • script

    A broader term; a script is usually a text file with code, while a macro is often recorded by the user's actions.

  • shortcut

    Can refer to any quick way of doing something; a macro is a specific kind of shortcut that runs a sequence of commands.

  • automation routine

    More formal and technical; describes the underlying process rather than the recorded command.

Grammar Patterns

create/run/write + a macro

macro + that-clause

macro for + noun/gerund

Usage Note

Frequently used in spreadsheet software (e.g., Microsoft Excel), word processors, and programming editors. A macro is usually activated by a keyboard shortcut or a toolbar button.

Common Mistakes

I wrote a macro to send email.' (incomplete)
I wrote a macro that automatically sends a reply when I am out of the office.
A macro performs a specific, automated sequence of actions, not a single generic task.
The macro is broken.' (vague)
The macro stops working after the software update.
Macros are countable—you can have one macro or several macros.

macro — adjective

macro — prefix

macro — combining form

Word family

  • macroeconomics
    nounB2
  • macroeconomic
    adjectiveB2
  • macroscopic
    adjectiveC1
  • macrostructure
    nounC1
  • micro
    adjectiveB2

Synonym discussion

Sense: noun/1

All three words refer to ways of making computer tasks faster, but they differ in scope and technicality. A 'macro' is a recorded set of user actions that can be replayed with one trigger — it is typically created by the user in spreadsheet or word-processing software. A 'script' is a text file containing code written in a programming or scripting language; it is more flexible than a macro and can include logic, loops, and conditional statements. A 'shortcut' is the broadest term — it can refer to a keyboard combination (Ctrl+C), a desktop icon, or any method that reduces steps. In everyday work, you might say: 'I wrote a script to clean up the data, assigned it to a macro button, and now I use the keyboard shortcut to run it.'

scriptshortcutautomation

Common collocations

Phrases

  • at the macro level
  • on a macro scale
  • from a macro perspective

Etymology

GreekLatinFrenchEnglish

The word 'macro' comes from the Greek adjective 'makros', meaning 'long' or 'large'. It entered English through Latin and French scientific vocabulary in the 1800s, first appearing as a combining form in words like 'macroscopic' (visible without a microscope) and later as a standalone adjective and noun in computing. The opposite prefix 'micro-' comes from the Greek 'mikros', meaning 'small'.