You can also check this macro already discussed there
For more information, see the wiki Searching the Forum for Answers section.