@grig, if you decide to use the method/macro provided by @peternlewis, please be aware of these cautions/issues.
For more information, see the wiki Searching the Forum for Answers section.