• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Change data in a Table

Derek McGill

Active Member
I am looking for code / tips / links to Update some of the data in a sorted table with new data from K8-K17.
 

Attachments

  • Insert to Table.xlsm
    41.1 KB · Views: 1
Why cannot?
and
Why cannot change it like this?
Code:
Sub From8To17()
    Application.ScreenUpdating = False
    For ay = 8 To 17
        Application.ScreenUpdating = False
        l_tab = "List of Players"
        g_tab = "Gradings"
        chk_g = Sheets(l_tab).Cells(ay, 7)
        chk_k = Sheets(l_tab).Cells(ay, 11)
        yg = WorksheetFunction.Match(chk_g, Sheets("Gradings").Range("A:A"), 0)
        With Sheets(g_tab)
            .Cells(yg, 15) = .Cells(yg, 4)
            .Cells(yg, 16) = Now
            .Cells(yg, 4) = chk_k
        End With
    Next ay
    Application.ScreenUpdating = True
End Sub
 
Its a 10 week Chess tournament and the "Data" Table values cant change until contest is over then ratings are updated and used for a new contest.
 
Back
Top