Is there anyway to record a chord progression (say 12 bar blues), then loop it?

I've tried with the MIDI and Macro record and don't see a way to make it loop.

Thanks