'Aah, VSTO!' ... cooking up an OBA solution
I have been doing some Visual Studio Tools for Office (VSTO) development in Word of late, not exactly a pain free experience. First thing to say is that even given all the marketing spiel, VSTO is not that different from VBA in older versions of Office. To get going I create a new VSTO 2008 Word 2007 Template project based on an import of our old Word template (to get styles, layout etc.). I then basically cut and pasted the logic from our old VBA macros into an ActionPane in the new one and it just worked. ...