OK, @ronald et al: I have updated my macro with a major revision:
For more information, see the wiki Searching the Forum for Answers section.