Good day folks,

I'd like to create a button within Excel. When you click on it, it will upload the current Excel file in (preferably) CSV format to a HTTP server. The server will process the uploaded file and return a message, like "Ok - file uploaded successfully" or "You are not allowed to share this kind of document". I need VBA to do so, so it's need to:

1) Select the active document-file;
2) Upload the active file to a predefined URL (using POST or PUT);
3) It should display the result in a messagebox - or give an error if it's unable to connect;

- Excel shouldn't hang while running this process, and the timeout should be defined in the macro.
- It should work on both Excel 2011 for Mac and any recent Excel for Windows version.

I'm not that familiar with VBA. I tried to search on different places like this forum. I wan't able to find any (partial) answer. I'd appreciate some help. Thank you in advance.