One macro gone haywire, can I use timemachine to get working version back?

If it was working correctly yesterday, the easiest way to restore that version is using the KM Editor > File > Revert Macros > <Yesterday'sDate> menu

image

BEFORE Starting, see the following: