title: Remove Reference using Word VBA
body: <p>I have a macro file (<code>.dotm</code> file) which gets changed from time to time.  </p>
  
  <p>However, if someone used a macro from a different file, it creates a reference to the <code>.dotm</code> file in the References folder for the project.  Can I have some script that checks that folder and if that file is now missing/broken to remove that Reference?</p>