In reply to Chris U.

Yes, possibly the macro has a limit here. For now, I'll leave it as an exercise for the reader... :)