QuoteOriginally posted by: odemannHi MHill,Here is a concrete case:I would like to download gas flow data from this link:
http://transparency.eon-gastransport.co ... ur=en-GBAs an example we can chose "Bocholtz" and "last 31 days".How can I automate this data download ?Any help is much appreciated.KimFor that one you'll need to send the full web query, get the response and then initiated the download just like you would manually since they don't provide a per option download link. Basically you need to break down the communication between your browser and the site and recreate it so that the right file can be downloaded. This can be done in VBA by exposing the correct DLLs and then writing out the whole query as one big string but it's pretty cumbersome. What I'd recommend instead is to use C# and make it into an XLL to be called from Excel. Much much much easier to do this in C#/.net rather then through VBA. Same basically goes for non-csv enabled content where the result response would need to be parsed for the info (or use the web query method above, which is the same except Excel does the work for you).Now if the csv linking was static or or dynamic based on query (date-referencedays.csv etc) then doing this in VBA would be fine but for what you want, I recommend C#/.Net and it should be easy to set up. C# is in many ways simpler than VBA and exposing the plugin to Excel via, straight interop xll, xlw, exceldna, Addin Express or one of the other C# to Excel plugin makers should be trivial.