Excel VBA knowledge: Auto Update external feed

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
kidis21
Posts: 5
Joined: Wed Jun 26, 2013 1:00 am

Hello,

I'm new in this and I want to learn. I am facing a difficult problem and cannot find the answers by myself, would much appreciate any help I can get.
I want to auto update ( refresh ) an external feed, at 30-60 seconds intervals.
I would also want to apply some formulas to other columns in excel, but mainly I would want to know where is the change in odds. For example if Bayern Munchen has the odds 2, and after the refresh the odds dropped at 1.9 I would want to see the difference in another cell.

Thank you for all your input and your help is much appreciated.
LinusP
Posts: 1917
Joined: Mon Jul 02, 2012 10:45 pm

viewtopic.php?f=31&t=4674

That thread talks about data scraping.

For the cell copy you just need to make a simple macro that copy's the cell, do you want to store the odds or just know difference between a set time?
kidis21
Posts: 5
Joined: Wed Jun 26, 2013 1:00 am

Hello,

Thank you for you response. My big problem is to make the feed auto update(refresh). By now I have tried the auto-refresh and set the refresh interval to 1 minute, but doesn't work.

I would like to know the difference from between a set time. let's say 1 minute or less.
LinusP
Posts: 1917
Joined: Mon Jul 02, 2012 10:45 pm

Not sure about that then, are you using office 365 as I have had issues with that before.

You just need a macro that copy's the cell data when 1 minute has passed, I can have a go at it later if I get time.
LinusP
Posts: 1917
Joined: Mon Jul 02, 2012 10:45 pm

Have a look at the attached sheet I quickly made, there is one simple macro that copies the cell values. It works by the trigger in cell A2, as this will equal a 1 if it has been over 60 seconds since the last macro trigger.

If you can get your head around macros and IF statements, you can do a lot!
You do not have the required permissions to view the files attached to this post.
kidis21
Posts: 5
Joined: Wed Jun 26, 2013 1:00 am

Hello,

Your help is much appreciated. From what I saw in the file it should connect with BA. I need this to work for a separate feed not BA, if you could help me with that, would be great.

Thx,
kds 21
Post Reply

Return to “Bet Angel - Automation”