Howdy, if possible post the macro itself so we can take a look at it and see what might be going wrong. As one of the moderators likes to say, "If we're not testing we're guessing, and guessing often wastes people's valuable time". If you need help on how to post the macro, just let us know and we can walk you through it.
If you haven’t had the opportunity to read this tutorial, I highly recommend it. It will help you get the most help for your question.
tell application "Microsoft Word"
set myFind to find object of text object of front document
tell myFind
execute find find text "Now^w" replace with "" replace replace all
execute find find text "the^w" replace with "" replace replace all
end tell
end tell
You definitely can. One way is by placing this AppleScript into the macro itself.
Are there other ways of doing it without using AppleScript, and using just KM native actions? No doubt, but sometimes AppleScript, or a shell script, or some JavaScript are much more efficient and reliable.