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)
-   -   I'm Stumped with VBA & XML (http://forums.ozmium.com.au/showthread.php?t=25984)

Dennis G 16th February 2013 08:37 PM

1 Attachment(s)
version 2 is completed -

* results are now numericals
* win divs ranked
* scratchings fixed
* abandoned races noted
* blank row between venues for easier cut/paste
* venue list displayed on front page

stugots 17th February 2013 11:18 AM

Hi Dennis, if you move the screenupdating line right to the end as below the code runs much quicker, for example yesterdays results completes in 20 seconds.



TransposeRaceCodes
Application.ScreenUpdating = True
End Sub

Dennis G 17th February 2013 05:00 PM

Thanks mate, flying now...

A fix for abandoned - in the LoadRaceDetails macro two thirds of the way down after ' Abandoned the 9 should be replaced with a 4.

"=IF(RC[-5]<>"""",IF(R1C[9]=""ABANDONED"",""ABD"",""""),"""")"

should be -

"=IF(RC[-5]<>"""",IF(R1C[4]=""ABANDONED"",""ABD"",""""),"""")"


I'm using my laptop and quite often forget the numlock key and when I type a number it doesn't appear :-[

aussielongboat 23rd February 2013 01:20 PM

1 Attachment(s)
attached is the one i use.
just add the date in sheet 3 b1,c1,&d1 and some field info comes out in sheet 1 and the results in sheet 4.

the choose the "both for date" button

update as you wish

good luck
aussie


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

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