Macros not working

Occasional Visitor

I have a number of Word macros that have suddenly stopped working. The debugger opens and I get a "Compile Error: Expected end of statement." I also get this message when trying to create a new macro. I'm running Word from Office Home and Student 2019 on Windows 10. Can anyone help?

1 Reply
Can you post the code or a pastebin of the code?