I have a complex excel sheet with lot of formulae and pivot table. It pulls out data from database using queries and then pivots and other formulae operate on that data and create rest of the worksheets in the same excel. Manually to do this one needs to click on the refresh button which refreshes the entire sheet.
Now what i need to do is to refresh the excel sheet using java code. I have used POI etc but i have no idea where to find this functionality to refresh the excel queries. I tried hard looking into this forum but still not the perfect solution. The overall idea is to create a program which will refresh this sheet every 30 mins using windows scheduler where i will schedule my java program.
I have no idea for VB.. if anyone has better way to achieve this please let me know.