Smartgambler
Pro-Punter

Go Back   OZmium Sports Betting and Horse Racing Forums > Public Forums > General Topics
User Name
Password
Register FAQ Search Today's Posts Mark all topics as read

To advertise on these
forums, e-mail us.

Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old 9th January 2014, 04:55 PM
Lord Greystoke Lord Greystoke is offline
Member
 
Join Date: Mar 2012
Posts: 1,237
Default

Holy hot-cakes walkermac.. it works!

Cheers LG
__________________
The trick isn't finding profitable angles, it's finding ones you will bet through the ups and downs - UB
Reply With Quote
  #12  
Old 9th January 2014, 05:08 PM
Martinw Martinw is offline
Member
 
Join Date: May 2012
Posts: 40
Default

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
Reply With Quote
  #13  
Old 9th January 2014, 05:32 PM
walkermac walkermac is offline
Member
 
Join Date: Nov 2013
Posts: 603
Default

No worries folks.
Reply With Quote
  #14  
Old 9th January 2014, 05:45 PM
Martinw Martinw is offline
Member
 
Join Date: May 2012
Posts: 40
Default

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
Reply With Quote
  #15  
Old 9th January 2014, 06:02 PM
Martinw Martinw is offline
Member
 
Join Date: May 2012
Posts: 40
Default

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
Attached Files
File Type: xlsm wksCodeError.xlsm (19.4 KB, 474 views)
Reply With Quote
  #16  
Old 9th January 2014, 08:27 PM
Lord Greystoke Lord Greystoke is offline
Member
 
Join Date: Mar 2012
Posts: 1,237
Default

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
__________________
The trick isn't finding profitable angles, it's finding ones you will bet through the ups and downs - UB
Reply With Quote
  #17  
Old 9th January 2014, 08:46 PM
Martinw Martinw is offline
Member
 
Join Date: May 2012
Posts: 40
Default

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

Ta,
Martin
Reply With Quote
  #18  
Old 9th January 2014, 09:54 PM
walkermac walkermac is offline
Member
 
Join Date: Nov 2013
Posts: 603
Default

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?
Reply With Quote
  #19  
Old 10th January 2014, 12:40 AM
Martinw Martinw is offline
Member
 
Join Date: May 2012
Posts: 40
Default

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
Attached Files
File Type: xlsm PERSONAL.xlsm (7.65 MB, 505 views)
Reply With Quote
  #20  
Old 10th January 2014, 12:46 AM
Martinw Martinw is offline
Member
 
Join Date: May 2012
Posts: 40
Default

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump



All times are GMT +10. The time now is 07:35 PM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2008 OZmium Pty. Ltd. All rights reserved . ACN 091184655