Hey Terry,
If you haven't read these they're worth a couple of minutes of your time"
Tip: How Do I Get The Best Answer in the Shortest Time?
How to Post Your Macro to the Forum
In cases like this one words are largely useless – we need a proper test case and a macro to test.
We also need to know what version of Keyboard Maestro and what version of macOS you're using.
-Chris