That's great! I'm glad your problem is solved.
Would you mind posting your final solution so others can benefit?
See
KM Wiki: How to Post/Upload Your Macro to the Forum
Macro: [KM] UPLOAD Macro to New or Existing Topic
For more information, see the wiki Searching the Forum for Answers section.