Macro Working is Sporadic

I have a macro in C15 that turns on pre roll then punches in at cursor. Has always worked fine but of late, it only “kind of works.” Many times the pre roll does not turn on. I’ve discovered if I Quit Cubase and relaunch, it’s back to working again. Just a heads up.