I've posted a demonstration of how to do this in the Macro Library category:
For more information, see the wiki Searching the Forum for Answers section.