I have an excel worksheet Sheet1$,
| Report1 | Report2 | Report5 | Report6 |
|---|---|---|---|
| value1 | value1 | value1 | value1 |
| Two | value2 | value2 |
I have several SP's in the database and this worksheet has the parameters for the SP's
Based on the header names in the worksheet, we have to pass the parameters and run that sp.
Example:
In this sheet, I have to run report1, report2, report5, report6 where report 3 and report 4 are not there.
I have to run the above-mentioned with the parameters in each column accordingly. (Note: The parameters has to be passed as a string) The result from the SP should be again saved in a worksheet.
Could someone help me with this?
Thanks in advance