Try putting a delay of zero seconds after the Extended Code command in the macro. This has helped with other commands, e.g., RF commands, which terminated after the first command.
Sorry for the delay in getting back here.
I tried that, and it kind of worked. However, I now have the reverse problem. The macro with the Extended Code, plus delays, now doesn't exit. It appears to "run" into the macro which follows it. It was easy for me to tell which macro, due to its unique sequencing of modules. I never had a macro do that before (fail to exit). It was quite weird!
Another AHP bug? Good grief!
Try putting a zero delay after the last code in the macro, and if that doesn't help, another zero delay before the first code in the 'run-into' macro.
BTW, I've had a bunch of weird things happen when I made a bunch of changes and/or initial errors in the programmed schedule. When I reprogrammed it starting from scratch and taking special care to get things exactly right the first time, the weirdness went away.
This was with an early release of AHP and the bug may (or may not) have been fixed by now.
If you're technically inclined, an annotated copy of the downloaded EEPROM image is saved by AHP as the file
c:\Documents and Settings\All Users\Application Data\Active Home Professional\ahpeeprom_w.txt
There may be something obviously different in the problem macros versus well-behaved macros.