Can't help it... got to ask...
Why do you have the same race being fed to 2 worksheets?
Just curious.
For those just starting coding.
What i used to do when i was going to start a programme:
- write what you are trying to achieve in pseudo code, possibly in steps.
1. login to racingpost
2. get racedata to excel
3. repeat step 2 every 5 seconds
- expand on the pseudocode and include it in the macro
(put ' before any text makes it a comment that won't affect the running of the macro. Use this to make notes or add comments)
1. login to racingpost
- ensure library references are set for internet explorer and html
- open ie
- goto racingpost login page
- enter login details
2. get racedata to excel
- go to results page
- put data into excel
3. repeat step 2 every 5 seconds
- goto 2
- Add some kind of way to stop update
If you do this, and put these details in as notes, then it's usually quite easy to see where you are going wrong if things don't work. Just break the problem down into smaller and smaller parts.