rrc1962,
The carriage return is necessary as the final line to get the M30 to rewind the code ready for the next run. Adding the % as the final line provides this.
I have run this code some 30 odd times now (till I got fed up) and not had a failure.
Incidentally what is the M1100 and M1101 supposed to do ?
What do you have in your M11, M1100 and M1101 macros ?
Tweakie.