Here's how you can fix This action couldn’t be performed because Office doesn’t recognize the command it was given error message.