We're working on a Excel Add-In in C# .Net 4. One of the requirements is to update a worksheet with results of some processing. The issue is, we need to do this both while the Excel file is open (with the Add-In), and also in batch (while the file is closed).
We have a SpreadsheetGear licence already to generate Excel files. Is it possible to modify an XLS file whilst it is open in Excel, using SpreadsheetGear? Or must we have two sets of code to generate the same information? One using Excel Interop for open files, and one using SpreadsheetGear on closed files?