A family of Microsoft word processing software products for creating web, email, and print documents.
Do you want to use the macro? If you want to use the macro, then safe mode & disabling macros isn't the solution. You don't want to use this macro, you can comment out those lines. and click save.
Does pressing F5 clear the error and finish running the macro?
Have you rebooted the computer since the problem started? If a macro is in break mode, rebooting clears it. Pressing Ctrl+Break twice may also clear it.
Have you tried the quick repair option in Settings > Apps& Features?