This is how a Macro is created. This is a rule or pattern that determines how a specific input sequence should be mapped to a replacement output sequence according to a defined procedure. Macros are supposed to make tasks using an application less repetitive.