I am trying to create a Microsoft Word Add in. I would like the javascript Add in to have the ability to read and write to Microsoft Access and Microsoft Excel files. This is trivial with VBA, but I do not want to divide up the user experience between my Javascript add in and a VBA button in the original Word document. I would like to be able to read and write from the Javascript add in somehow.
I know I have access to things like Word.run(function (context) {..... from the docs, but example functions have nothing to do with accessing other documents.
What is the right way to access other Microsoft documents from a Javascript add in to read and write?
Thanks.