Forums
Welcome to Live View – Take the tour to learn more
Start Tour
There is currently 1 person viewing this thread.
jamiepullen
04 Mar 09 10:49
Joined:
Date Joined: 08 Apr 06
| Topic/replies: 10 | Blogger: jamiepullen's blog
now lite is up and running, my tracking workbook does not work. when i select a market to track, the code: getMarketName = reMatches(0).SubMatches(0) is hilghted.

Any help please, as this is beyond my basic vba skills

Jamie
Pause Switch to Standard View tracking workbook
Show More
Loading...
Report RichWill March 4, 2009 12:32 PM GMT
I think its a log-in problem. When I try to download a race into Excel it says I have not logged in. Looks like the problems with Lite are not over yet.
Report jamiepullen March 4, 2009 1:46 PM GMT
anyone know what they were trying to**
Report SBP March 5, 2009 12:21 PM GMT
the problem with the error message "getMarketName = reMatches(0).SubMatches(0)" is that it its looking for a patternthat is no longer there....
click on debug and find the Privatte Function getMarketName()
change the line of text saying
marketNameRegExp.Pattern = "strong(.*)/strong(.nbsp.. In-play .)*br"

to

marketNameRegExp.Pattern = "STRONG(.*)/strong BR"

works for me.....
Looks like the log in cookies are being refreshed at quicker intevals than before the site went down - bad news if you are trying to place bets using the spreadsheet. still ok for monitoring though
Report SBP March 5, 2009 12:23 PM GMT
(marketNameRegExp.Pattern = "STRONG(.*)/strong BR")
Report Larry Lab Rat March 6, 2009 1:16 PM GMT
We'll make that change to the workbook - thanks for the**

I understand the timeout change is a compliance requirement imposed on us.
Report RichWill March 6, 2009 2:09 PM GMT
Larry - why can't I download data from Lite into Excel now?
Report Larry Lab Rat March 6, 2009 4:35 PM GMT
It might be because of this MS Office issue: http://support.microsoft.com/kb/290347

I'll have a look.
Report top2rated March 6, 2009 7:24 PM GMT
Larry

Why can't I download into an Open Office Calc spreadsheet now?
Report jamiepullen March 6, 2009 9:23 PM GMT
thanks SBP, changed line about regex pattern as you suggested, but i get

'run time error 5 invalid call procedure or argument'

any more help please?
Report invebet March 7, 2009 11:40 AM GMT
Whoever can get the workbook going again will become my new hero!

I thought waiting for lite to reappear was annoying enough, but when it returns and it has changed so the workbook is not working.

A huge thanks to all the folks working on getting it going again.
Report SBP March 10, 2009 2:28 PM GMT
jamie pullen-
for some reason when I pasted what the line should read the forum re-edits despite it looking correct in the preview..... dont just copy and paste it in from the forum

it still needs the (greater than symbols) in there (the characters that are on the comma and full-stop keys on your keyboard).

all you need to do is delete (.nbsp..Inplay.)* from the original line and make sure the BR at the end has a space. The BR needs to be surrounded by a greater than and less than symbol.
Report invebet March 27, 2009 8:08 PM GMT
I am really struggling to get the tracking workbook going.

I have used the previous suggestions but I am still getting

Run-time error '5': Invalid procedure or argument

when I get to clicking the Track Market button.

When I press debug,

getMarketName = reMatches(0).SubMatches(0)

is lit up in yellow.

Has anyone any suggestions?
Report jamiepullen April 15, 2009 11:43 AM BST
thanks sbp, not been back for a while, disheartened by the whole shutting lite and then ruining my workbook fiasco!

anyway, back now and just tried your suggestion. Had to also remove:

If UserCookie = "" Then
MsgBox "You must be logged in to track this market"
Exit Sub
End If

otherwise it told me i needed to log in when i already was!

Am i right in reading above that it will also log me out after a while, my sheet was set to place bets while i was at work. if this is the case then i guess my sheet is still next to useless!
:(
Report SBP April 22, 2009 11:06 AM BST
yep it will log you out unfortunately. Before they made changes to the betfair lite website you could log in for ages(not sure how long but was definately for hours). Now your user cookie details log out after 5-10mins. you then need to log back in again.
Report jamiepullen April 22, 2009 1:38 PM BST
not best at excel, but could i have a browser window hidden that is logged on that resfreshes every time workbook does to keep connection or would this not work either? spent months teaching myself excel to get workbook to do what i want and then they spoil it!!
Report jamiepullen April 22, 2009 1:41 PM BST
when sheet logs out, i loose odds, names etc on each race sheet. however, if i open up the browser and log back in, on next workbook refresh the data reappears, so there must be a way to automate this for when i am at work. Like i said, i am self taught and not so good, but i will try.
Report jamiepullen April 22, 2009 1:47 PM BST
by the way, as a neater approach, if it will work has anyone got some code that will log on without having a hidden browser window?

I can then run it every 2 minutes or so to keep logged in (hopefully)
Report invebet May 9, 2009 8:51 AM BST
Thanks for all your help with getting the tracking workbook going again.

I can now login, start tracking the market, but it won't accept any bets. According to the "Bets Journal - Master", there is an "Unknown Error".

Anybody got it actually taking bets or any suggestions?
Report Gary Binosh October 13, 2009 7:24 PM BST
:x
Report runandskip October 15, 2009 10:03 PM BST
ttt
Report runandskip October 20, 2009 4:30 PM BST
.
Report Big Charlie November 10, 2009 12:32 AM GMT
.
Post Your Reply
<CTRL+Enter> to submit
Please login to post a reply.

Wonder

Instance ID: 13539
www.betfair.com