I have an Excel file stored at a file system location. I have the path in my Oracle procedure. I, however, can't find any resource online that would guide me in-
- Write data to a particular sheet in the Excel file
- Run a particular VBA function
- Read data from a particular sheet in the Excel file
Reinforce- I need to achieve all three of these through an Oracle procedure.
Any resources would be helpful.
Note: I am not trying to call an Oracle query or function through Excel. I am quite able to do that using ODBC. I am asking for something that's the exact opposite.
as_xlsxpackage; find it here. That package will handle your write requirement. It should be easy enough to extend it to handing the read requirement. Triggering a VBA function might be tough. It depends how you run the function in Excel: I mean, it is gonna be hard to simulate pressing[F5]