Macro processing