I have created an excel add-in that allows data to be downloaded into any excel workbook. The downloaded data is always placed in a new worksheet, but the workbook can also have worksheets that are not managed by the add-in.
Now I would like to store settings for each managed sheet (so I can refresh the sheet at a later date from the same data source etc.), preferably using the [cached] attribute to store to the VSTO datastore for each sheet. The problem is I don’t seem to have access to a DataStore at the add-in level (I can create a Visual Studio project specifically for a workbook and create one there, but not in the project for the addin).
How can I dynamically create a datastore from the add-in / application level? Any hints / advice / links to tutorials are welcome, as I am finding it hard to find any information on this subject.
Short answer: I can’t use the data island from the application level.