Greetings!
I have been trying to find a solution to a (conceptually) simple problem, but the coding skills necessary for this particular problem are beyond me, so I was hoping someone here could help me out!
So here is what I am trying to do:
Ideally, I would like a macro (in Excel), which when operated, goes to this website:
http://www.transgaz.ro/en/masuratori...ale_iesire.php
And changes the "From" date to last week's date (as the website doesnt allow for periods longer than 7 days anyway). So for example, today is Wednesday, the "From" field should be last Thursday's date (not last Wednesday). The macro knows this automatically for every date in the week, so if today is Thursday 3rd July 2014, the "From" field will be set to Friday 27th June 2014, etc. Then the macro just downloads this file by selecting "Show Data" into the same directory as the Excel worksheet.
This has been really difficult for me to get my head around and I hope someone here can help me out with it! Thank you!
Bookmarks