title: Call Microsoft Word VBA code from within Powershell
body: <p>I have created a Microsoft Word 2010 macro using the Record Macro feature to search the document to find a certain string of words, and to insert those string of words into Excel. </p>
  
  <p>I want to call this macro in Powershell.</p>
  
  <p>Since the script lives in Microsoft Word, is it possible to reach into Word using Powershell and to execute these Macros or will I have to rewrite the macro in Powershell? </p>
  
  <p>I want to run this Macro on several documents in a given folder.</p>