title: Building an XLA from Source Programmatically
body: <p>I have a (version controlled) folder of exported components of a VBA addin (i.e. a lot of <em>cls</em>, <em>frm</em>, <em>frx</em>, <em>bas</em> and <em>txt</em> files). Can someone give me a build script (can be a VB script, or something more complicated) that takes the name of this folder and produces a (working) XLA? </p>
  
  <p>I know you can programatically modify XLA files (<a href="https://stackoverflow.com/questions/86763/change-xla-file-with-msbuild">e.g. this question</a>) so it shouldn't be too hard to write a script that creates an empty XLA, and then loops over all the files in the folder to add them to it...?</p>
  
  <p>Thanks,</p>
  
  <p>Nick</p>
  
  <p>(edit: Excel 2003 if it makes any difference)</p>