Problems with objects when macro is in macrofeature

I have a macro which works well, but once this macro is launched from a macrofeature it seems to loose its stability.

I've noticed the following differences:

Microsoft Excel will not quit when sent the Quit command. This causes several errors if the macro is re-run.

The macrofeature macro continues to run indefinately after the macro has finished.

I realise that this may be vague, but I was hoping that someone is famliar with the implications of running a macro from a macrofeature.


Thanks

SolidworksApi macros