I have a code macro but I don't know like automatize it. I would like to automatize to 50 games.
I have a spreadsheet with 50 games and I would like this macro do these 50 games. To do a game is needs fill with 15 balls and after that click in "colocar no carrinho" button.
Rafael
Sub apostas()
Set internet = New Selenium.ChromeDriver
With internet
.Start
.Get "https://www.loteriasonline.caixa.gov.br/silce-web/#/termos-de-uso"
.FindElementById("botaosim").Click
.FindElementById("Lotofácil").Click
.FindElementById("n02").Click
.FindElementById("n03").Click
.FindElementById("n04").Click
.FindElementById("n05").Click
.FindElementById("n06").Click
.FindElementById("n07").Click
.FindElementById("n08").Click
.FindElementById("n09").Click
.FindElementById("n10").Click
.FindElementById("n11").Click
.FindElementById("n12").Click
.FindElementById("n13").Click
.FindElementById("n14").Click
.FindElementById("n15").Click
.FindElementById("colocarnocarrinho").Click
End With
End Sub
Attachment 648428
Lottery Games.xlsm
Bookmarks