macros—prewritten commands or instructions that automate a repeated task, especially in software or spreadsheets