Calling a Macro from APEX
Hi all,
after seeking on the forum and internet, I'm writing you my goal to see if you can guide/help me.
I'm using APEX 3.2 for uploading some excel sheets. After looking for info, we figured out that xls cannot be uploaded, so we asumed we need to upload the files in CSV format. The problem is that the user does not want to go every time they want to upload a file to "Save as...CSV", so we decided to do a macro in Excel that will change the format for him.
So, my goal is to run this macro from the APEX app right before the user uploads the file, the most invisible way for the user as possible.
The flow would be something like this:
Load the page of the application.
Run the macro from javascript maybe??
Change the format in local drive of the user, from XLS to CSV.
The user will use the file browser in the app and choose the CSV format from his local drive and upload it.
Has anyone have any ideas on how to do this? I have tried calling a batch from apex that creates a file, but I get a permission error, I guess because of security issues.
Thanks a lot!