I have an Excel spreadsheet that has a dozen calculated fields based off of users populating cells and looking up data in multiple tabs with static data. I would like to be able to create a stored procedure that takes parameters, populates values in the spreadsheet and returns values in specific cells.
Is this possible without reinventing the wheel and creating the data in SQL Server and moving the Excel formulas to SQL logic? I know there is an ODBC driver for Excel which SQL Server can connect to but I don't believe a stored procedure can reference values from formulas in the spreadsheet and populate specific cells?