Spike wrote:I'll have to look for a work -around and use 66x18 as the official release doesn't have waitForResult.
Thanks for your time Gary, I know you're meant to be on paternity leave and I'm really sorry to have disturbed you.
"betPlaced" looks brilliant by the way- very useful. I had been using the transaction log as a record of bets and putting "markers" into the bets using different stakes eg £20.03 but that was a bit of a bodge and it'll be great to have a proper solution once I've got that working. I was thinking of asking for something like that but I was definitely going to leave it for a while!
waitForResult is working out brilliantly for me too- in effect it's let me combine a whole bunch of bots into one which is much more efficient, it's made a massive difference and I'm really happy with it.
As ever I am hugely impressed by Gruss- surely the best company I deal with in any field. If Gruss made lager it would be a damn site better than Carlsberg, that's for sure.
If you want to do a workaround then as long as you only have one instance of BettingAssistantCom.ComClass
you should be ok. You could put this in a module and declare as public. You can then refer to it from all worksheets. They must all be in the same workbook though. If you get the error after making this change then it may be that it's already instantiated, just close and re-open the workbook.