You really need to post your macro -- or at least the relevant actions. As the Tip says, showing more helps get the best answer.
For more information, see the wiki Searching the Forum for Answers section.