OZmium Sports Betting and Horse Racing Forums

OZmium Sports Betting and Horse Racing Forums (http://forums.ozmium.com.au/index.php)
-   General Topics (http://forums.ozmium.com.au/forumdisplay.php?f=59)
-   -   TattsDownloads (http://forums.ozmium.com.au/showthread.php?t=27758)

Lord Greystoke 9th January 2014 03:55 PM

Holy hot-cakes walkermac.. it works!

Cheers LG

Martinw 9th January 2014 04:08 PM

That's great - works for me too. Now I can check out the xml data and compare to their webpage. And hopefully go from html to xml

Thanks for all the help

Ta,
Martin

walkermac 9th January 2014 04:32 PM

No worries folks.

Martinw 9th January 2014 04:45 PM

Have been comparing between this and their webpage and html and it is looking very excellent. So now I can update my app.

Thanks again for the help.

Ta,
Martin

Martinw 9th January 2014 05:02 PM

1 Attachment(s)
I am having a problem moving the code to my app.

When I try to compile it comes up "argument not optional" on Set Pool = poolList.Item(J) - it does not like "Pool"

Note I am calling this from a multisheet app - so I have changed all the "Sheet1" to wks (wks as worksheet) as this is what my app uses.

Any help would be greatly appreciated.

I have put the code in a blank wkbk cause my app is huge

Ta,
Martin

Lord Greystoke 9th January 2014 07:27 PM

Are you guys working on getting historical results (or have them already) as well or is it still on the TO DO list?

Cheers LG

Martinw 9th January 2014 07:46 PM

no, I am working on getting current downloads of divs for races happening now

Ta,
Martin

walkermac 9th January 2014 08:54 PM

Sorry, but it works fine at my end. I just added a button to a blank worksheet that called LoadRaceField(ActiveSheet) on being pressed, changed the xml address from cell E-whatever to a string and added a reference Microsoft XML v6.0 (which I presume you've done, as it would've fallen over much earlier).

Code ran through and wrote the odds for the race onto the worksheet; no problems.

If it's still not working for you, maybe upload the whole workbook someplace else and I can have a look to whatever is unique to your situation. ...you haven't done something silly and defined your own function/subroutine called Item, have you?

Martinw 9th January 2014 11:40 PM

1 Attachment(s)
I have uploaded my Personal wkbk - all 350 odd modules of really badly written code! I have been writing and using it since Feb 2002 - every day.

The Public Sub LoadRaceField(wks As Worksheet) is on mod 104. It showing on OZmium so you should be able to upload it. It is 7828kb

I put the sub in a separate wkbk by itself and it compiled no problem. But not in my Personal wkbk.

Any help you can offer would be greatly appreciated. Now 240am so must go to bed.

Ta,
Martin

Martinw 9th January 2014 11:46 PM

Forgot to mention that the sub is now a public sub with .wks as worksheet. And I have changed the cell references around to fit my workbooks - I download up to 70 races a day.

Ta,
Martin


All times are GMT +10. The time now is 10:49 AM.

Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.