Posts by qaz2123434

    Re: Rank with criteria vba


    Hi thanks
    I've put Application.countifs($A$2:$A$10,A2,$B$2:$B$10,">"&B2)+1 in a loop and its working perfect
    Expect some values in the B Column are "-"
    How can i leave them values out?

    Hi i need to rank a column based on the Id Column


    Id Value Result
    1 5 1
    1 4 2
    2 8 1
    2 7 2
    2 6 3
    3 9 1
    3 8 2
    3 7 3
    3 6 4


    I know this can be done with a sumproduct formula but i need it in Vba
    Thanks

    Re: Add a comma after html innertext


    I got it sorted just a simple macro, im an idiot!



    Code
    Sub format()
        Columns("A:A").Select
        Selection.NumberFormat = "@"
        Columns("B:B").Select
        Selection.NumberFormat = "@"
        Columns("F:F").Select
        Selection.NumberFormat = "@"
        Range("A1").Select
    End Sub

    Re: MACRO to SELECT REQUIRED DATA FROM WEBSITE


    Re: Add a comma after html innertext


    Its the same, only the time and title for the first race on each card of each meeting is missing. But thats not really important, the name of the race meeting and each races betting forecast is all i now need. The bettingforecast looks to be between "A" tags i thought they were for links. Can this be got?

    Re: Add a comma after html innertext


    This Gets All the cards but i dont have the betting forecast for each card or the Name of the Meeting



    Re: Add a comma after html innertext


    this is how i get the racingpost links