VBA Code with Bet Angel

Discussion regarding the spreadsheet functionality of Bet Angel.
Post Reply
Fidib665
Posts: 55
Joined: Mon Jun 15, 2009 10:42 am

Hi,
I am trying to write a VBA script that extracts information from the Bet Angel Excel Sheet, processes it and based on it then makes trades. The issue is that once I start the Macro, it completely blocks the original Excel Sheet in that the data there is not updated anymore. How can I ensure that the update of the Bet Angel Spreadsheet has the highest prio and the Macro only second prio?
Many thanks for your answers, Fidibus
User avatar
TheTub
Posts: 267
Joined: Thu Mar 26, 2009 7:53 pm
Location: Nottinghamshire

Are you looping a VBA script?

If so, you will need to place 'DoEvents' in your script. This allows excel to update from external data feeds.
Fidib665
Posts: 55
Joined: Mon Jun 15, 2009 10:42 am

Many thanks for your answer. I figured to use
Wait = Timer
While Timer < Wait + 5
DoEvents
Wend
Also works.
Greetings, Fidibus
Post Reply

Return to “Bet Angel - Spreadsheet / Excel chat”