+ Reply to Thread
Results 1 to 2 of 2

Automatization of a macro

  1. #1
    Registered User
    Join Date
    11-12-2010
    Location
    são paulo, brazil
    MS-Off Ver
    Excel 2007
    Posts
    25

    Automatization of a macro

    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
    Attached Images Attached Images
    Last edited by rafa.jsilva; 11-06-2019 at 12:20 PM. Reason: title improvement

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Make games automatically at xxxx

    Please do not post links to commercial sites, no matter what they are!!

    I have removed the links
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Baseball Results: H/G when Games<30 & AB/G when Games<10
    By Eric Alan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-16-2017, 02:29 AM
  2. can make a macros copy dats from a web site and enter it into excel?
    By jono121ukk in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-10-2017, 05:54 PM
  3. How to make Excel automatically login on a website so it can retrieve data from the site
    By bornacvitanic in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-25-2016, 07:11 PM
  4. Replies: 4
    Last Post: 03-31-2016, 11:43 PM
  5. Need to make a wins vs played spreadsheet for multiples games/players
    By Magnerss in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-10-2013, 04:29 PM
  6. [SOLVED] Is there a way to copy web site data to excel to make it sortable
    By Jetson2k in forum Excel General
    Replies: 1
    Last Post: 08-30-2005, 10:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1