Fix Word VBA ‘Compile Error: Sub or Function Not Defined’ on a Migrated Project
You see the Word VBA compile error “Sub or Function Not Defined” after moving a macro project from one computer to another or from an older version of Office. This error means the Visual Basic for Applications editor cannot locate a procedure that your code calls. The root cause is almost always a missing reference … Read more