If I remember correctly, I wrote a GW-BASIC program to decode WordPerfect macros, allow them to be edited as text, and re-encode them.