Generic Remote

Hi, so I built a Macro and assigned it to a key command. When I hit the key command the macro runs fine. When I use a midi note to trigger the macro via the generic remote the Macro stops half way through. If anyone knows a work around for this that would be great!