A macro is a script that contains a sequence of statements or declarations. Macros speed up and simplify work by executing frequently-used command sequences with only a single call. For example, you can use macros to automatically run reports or semantic checks.