How to automate already opened Internet Explorer using excel macros

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ต.ค. 2024

ความคิดเห็น • 108

  • @AdautoAraujo
    @AdautoAraujo ปีที่แล้ว +1

    Man, I have no words to express my gratitude. I've been looking for so long for this solution... Thank you so much!!

  • @prasenjitmandal5486
    @prasenjitmandal5486 2 ปีที่แล้ว

    You are truly Amazing !
    You help me a lot from this video.
    Thanks will be less to say you.
    You are amazing human being

  • @Dani-kk7fe
    @Dani-kk7fe 4 ปีที่แล้ว +4

    How do i do the same but in Chrome?

  • @cenationrko4445
    @cenationrko4445 4 ปีที่แล้ว

    thank you very much this is what i was searching from a long time

  • @rodrigoordenes4858
    @rodrigoordenes4858 ปีที่แล้ว

    Hello, I need to ask you a question. How to send a tab or enter to the web page being controlled with IE VBA. Thank you.

  • @rpfoodie799
    @rpfoodie799 2 ปีที่แล้ว +1

    Can Anyone tell for the Edge

  • @J-oker251
    @J-oker251 4 ปีที่แล้ว

    What a fantastic tutorial, I only know basic excel, but I really feel with this tutorial I will be able to preform an advanced solution to my problem

  • @zloyserver4438
    @zloyserver4438 ปีที่แล้ว

    Hello! If the document.title is change after moving to another window, where can I indicate its name?

  • @rcbhk
    @rcbhk 3 ปีที่แล้ว

    Nice work.. great skills!!! i will be thankful if you can explain the way we can run the macro from webpage ? like we enter the value for name on webpage and rest of the details are automatically fetched from excel into this form?

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      thanks. executing macro from web page is not feasible but you can use the approach explained in this tutorial to enter a the value manually on the already opened web page and then execute the excel macro

  • @shubhamchouhan295
    @shubhamchouhan295 2 ปีที่แล้ว +1

    Sir how to get date from google chrome and paste it in excel.

  • @sagarbhai6638
    @sagarbhai6638 2 ปีที่แล้ว

    video is very simple and informative but how can i activate the current IE and take screenshot of it? Thank You!

  • @hejeebuprasad
    @hejeebuprasad 2 ปีที่แล้ว

    Thank you

  • @adrianb6193
    @adrianb6193 3 ปีที่แล้ว

    Thank You, it works now :)

  • @dannygrio
    @dannygrio 3 ปีที่แล้ว

    does internet explorer still exist or can you do the same with edge? I am looking for something like this, as I have to login in the page with a form available (database online). Therefore, I was looking for something like this, but for edge, chrome etc. I cant get explorer anymore I suppose.

  • @lalitshete5219
    @lalitshete5219 4 ปีที่แล้ว +1

    Can we use same for google form
    As in the last video which I saw it was working for text only.

  • @mohanraju9743
    @mohanraju9743 ปีที่แล้ว

    Sir - How to save/download opened windows in PDF format.

  • @danielepicchianti1877
    @danielepicchianti1877 2 ปีที่แล้ว

    Great!
    Thanks

    • @AutomationMadeEasy
      @AutomationMadeEasy  2 ปีที่แล้ว

      Welcome!

    • @danielepicchianti1877
      @danielepicchianti1877 2 ปีที่แล้ว

      @@AutomationMadeEasy Hello my friend, on a web page I need to select an item from the drop-down list. Also I need to select a check box and finally click on the submit button. Could you help me with a Vba code?

    • @AutomationMadeEasy
      @AutomationMadeEasy  2 ปีที่แล้ว

      i will need to see the page. You can try below alternate apporoach on edge
      th-cam.com/video/AEp0Yeis9AM/w-d-xo.html

    • @danielepicchianti1877
      @danielepicchianti1877 2 ปีที่แล้ว

      @@AutomationMadeEasy Hello, this is the html code for the drop down list:
      ""
      and the Check-box code:
      "



      Aliquota IVA



      Natura IVA
      rcAbilitaAliquotaIva = function() {PrimeFaces.ab({formId:'f2',source:'j_idt371',process:'@all',update:'inputAliquotaIva cmbNaturaIva',params:arguments[0]});}
      rcAbilitaNaturaIva = function() {PrimeFaces.ab({formId:'f2',source:'j_idt372',process:'@all',update:'inputAliquotaIva cmbNaturaIva',params:arguments[0]});}
      "

  • @amol3070
    @amol3070 2 ปีที่แล้ว

    Can you do the same for edge browser
    Like how can we automate already open edge browser through vba

  • @lf7801
    @lf7801 4 ปีที่แล้ว +1

    HELP! I've written and tested my code for a single row but "It either Hangs or doesn't run at all" when I use a for loop for entering data and fetching it to and from excel Sheets.

  • @Leslei8417
    @Leslei8417 3 ปีที่แล้ว

    Hello! Your macro works perfectly, but im trying to adapt it to our ERP (JD Edwards) which uses explorer also and im not able to make it work. It does find the webpage, but it just doesnt fill the information. Your help would be very appreciated. Thank you!

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      How can I help you?
      For customized requirements please write into info@automationandagile.com

  • @KM-co5mx
    @KM-co5mx 3 ปีที่แล้ว

    Dear Sir, where can we find all the Excel VBA commands to controlling the Mouse & Keyboard? I enjoying learning from your video's.
    Lets say, I wrote,
    IE.getElementsByName("q")(0).Value = "qwerty"
    Then,
    How do I send a return carriage r enter?
    How do I sent a left click, etc?
    I can't find what the list is in VBA
    Thank you so much! =)

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      Refer below tutorials:
      th-cam.com/video/-GUw22ecRwI/w-d-xo.html
      th-cam.com/video/g7xOwulfwK0/w-d-xo.html

  • @MrExcel-if7lc
    @MrExcel-if7lc 3 ปีที่แล้ว

    After auto filled, if we click on any fields the values are getting cleared automatically.. can u tel me y?? How to stop this

  • @kartikeysingh7159
    @kartikeysingh7159 2 ปีที่แล้ว

    Its counting opened file explorer windows not edge what should i do

  • @ksathiya4576
    @ksathiya4576 3 ปีที่แล้ว

    Thanks for the video helped me a lot. I just need one help, is it possible to scrap details using this same condition. I tried combination of multiple, but it was not working properly. It is working until to enter specific value in website, but unble to scrap specific details. Pls help me

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      Refer below:
      th-cam.com/video/docnLSdj8rI/w-d-xo.html

    • @ksathiya4576
      @ksathiya4576 3 ปีที่แล้ว

      @@AutomationMadeEasy Thanks for your reply. I watched both videos and tried to combine both but it is not working for me. Below the details what I entered.
      Sub Test()
      On Error Resume Next
      Set objShell = CreateObject("Shell.Application")
      intWinCnt = objShell.Windows.Count
      For intWinNo = 0 To (intWinCnt - 1)
      strWinTitle = objShell.Windows(intWinNo).document.Title
      If strWinTitle = "Order Inquiry" Then
      Set IE = objShell.Windows(intWinNo).document
      Exit For
      End If
      Next
      IE.getElementsByName("ctl00$cntMain$txtOrderNumberId")(0).Value = "123456"
      IE.getElementById("cntMain_rdOrderNumber").Click
      IE.getElementById("btnOk").Click
      *****Until Here its working perfect******
      strPoTl = doc.getElementById("cntMain_txtTotalCost").innerText
      strPoOs = doc.getElementById("cntMain_txtOutLandCost").innerText
      ThisWorkbook.Sheets("Sheet2").Range("B2").Value = strPoTl
      ThisWorkbook.Sheets("Sheet2").Range("C2").Value = strPoOs

    • @ksathiya4576
      @ksathiya4576 3 ปีที่แล้ว

      @@AutomationMadeEasy I don't know where I'm making mistake. While running I'm not getting any error, but also not getting the details what I needed. So Pls help me.

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      need to see the web page

    • @ksathiya4576
      @ksathiya4576 3 ปีที่แล้ว

      @@AutomationMadeEasy How can I contact you? Through email?

  • @geekysantosh
    @geekysantosh 4 ปีที่แล้ว

    Hello sir, please share video on JMeter example of working on real-time project.

  • @kamalakotagiri7174
    @kamalakotagiri7174 4 ปีที่แล้ว

    Need VBA Help: How can we handle more than one ie windows in a program ? Can you please help?

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว

      you can use the same technique as explained in the tutorial. Search for title or url of the page and proceed further.

  • @rightclick9408
    @rightclick9408 3 ปีที่แล้ว

    Can this be done using URL instead of title

  • @KM-co5mx
    @KM-co5mx 3 ปีที่แล้ว

    Thank you for this wonderful video. I've followed along but I get an compile error for the line "Set objShell = CreateObject("Shell.Application")" stating Variable not Defined. How did you get around this? I tried defining it to Application, Windows, etc but then my objShell.Windows.Count result was always zero. So I must be defining it incorrectly. Please advise and thank you in advance! =)

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      can u paste the script

    • @KM-co5mx
      @KM-co5mx 3 ปีที่แล้ว

      @@AutomationMadeEasy
      Thank You in Advance!... Here's what I have. I wrote it exactly as I saw in the video... I get a compile error on objShell, Variable not defined.
      I'm running VBA 7.1.1110, Excel 2016
      Sub ExistingBrowserTH-cam()
      On Error Resume Next
      Set objShell = CreateObject("Shell.Application")
      MsgBox objShell.Windows.Count
      End Sub

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      On the VBA editor got to Tool/References -
      On the References select Microsoft Shell Controls And Automation
      Click OK
      Then re -execute

  • @MultiDirection
    @MultiDirection 4 ปีที่แล้ว

    Can we fill data in web page with given set of conditions such as any particular text or number displayed in web page?

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว +1

      Absolutely yes

    • @MultiDirection
      @MultiDirection 4 ปีที่แล้ว

      @@AutomationMadeEasy Please upload a video on this.

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว +1

      its not ageneric solution, changes from page to page. For customized solutions/training write into info@automationandagile.com

  • @MrScratchOdia
    @MrScratchOdia 7 หลายเดือนก่อน

    Is there any way in which data entry can done in alredy opened chrome browser? Pls reply

    • @AutomationMadeEasy
      @AutomationMadeEasy  7 หลายเดือนก่อน

      unfortunately no

    • @MrScratchOdia
      @MrScratchOdia 7 หลายเดือนก่อน

      @@AutomationMadeEasy thank you for your reply... I just finished a work using automate in chrome

    • @MrScratchOdia
      @MrScratchOdia 7 หลายเดือนก่อน

      @@AutomationMadeEasy can i use python for that purpose?? Will it work?

  • @balajiprasath3895
    @balajiprasath3895 3 ปีที่แล้ว

    So for chrome we can't use all ready opened taps?

  • @mkv7595
    @mkv7595 4 ปีที่แล้ว

    Hello, I have seen tutorials it is very informative and very easy to understand.
    I have doubt in clicking a check box in a website using EXCEL VBA
    the check box values will be dynamic.It seems to be very challenging for me. If someone helps me to fix this i will feel awesome.
    I have mentioned below the HTML elements for your reference.
    Excel Input Range(A1)= (2015, 2018) Excel Input Range(B1)= (KD)
    Excel Input Range(A2)= (2015) Excel Input Range(B2)= (KD)
    Excel Input Range(A3)= (2015) Excel Input Range(B3)= (blank)
    Scenario :1 Del Qualifier Type Qualifier Code
    CbeckBox(0) MY 2018
    CbeckBox(1) MY 2017
    CbeckBox(2) MY 2016
    CbeckBox(3) MY 2015
    CbeckBox(4) VT L
    CbeckBox(5) VL KD
    CbeckBox(6) VL K#
    Scenario :2 Del Qualifier Type Qualifier Code
    CbeckBox(0) MY 2017
    CbeckBox(1) MY 2016
    CbeckBox(2) MY 2015
    CbeckBox(3) VT L
    CbeckBox(4) VL KD
    CbeckBox(5) VL K#
    Scenario :3 Del Qualifier Type Qualifier Code
    CbeckBox(0) MY 2016
    CbeckBox(1) MY 2015
    CbeckBox(2) VT L
    CbeckBox(3) VL K#
    From the above three scenario I want to select qualifer code (2015, 2018 & KD)
    Note: Scenario :3 is not having Qualifer Code - 2018 & KD.
    So in these how we can select the check boxes.
    For your easy reference
     
    Del
    Qualifier Type
    Qualifier Code
    Abbreviation
    Print
    Rev
    User Id
    Date

     
    MY
     
    2018
     
    Eff: Ineff:
     
    Y
     
    A
     
    VKUMARAG
     
    06-mar-2018

     
    MY
     
    2017
     
    Eff: Ineff:
     
    Y
     
    A
     
    VKUMARAG
     
    27-may-2016

     
    MY
     
    2016
     
    Eff: Ineff:
     
    Y
     
    A
     
    ACYRUS3
     
    17-nov-2015

     
    MY
     
    2015
     
    Eff: Ineff:
     
    Y
     
    A
     
    APIMPORT
     
    20-sep-2013

     
    VT
     
    L
     
    Truck
     
    Y
     
    A
     
    APIMPORT
     
    20-sep-2013

     
    VL
     
    KD
     
    RANGER ICA
     
    Y
     
    A
     
    VKUMARAG
     
    23-apr-2020

     
    VL
     
    K#
     
    RANGER OLD
     
    Y
     
    A
     
    APIMPORT
     
    20-sep-2013

  • @kamransiddiqui4879
    @kamransiddiqui4879 3 ปีที่แล้ว

    Sir please explain this thing on chrome browser in a new video...i will be very thankful to you

  • @ibrahimriyadhalrikabi757
    @ibrahimriyadhalrikabi757 4 ปีที่แล้ว

    Hi dear , I've question if possible:
    I need strongly to share my VBA project with many users the same time on internet (at least 20 users)
    Please advise me 🙏

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว +1

      its not a web application so seems not feasible

    • @ibrahimriyadhalrikabi757
      @ibrahimriyadhalrikabi757 4 ปีที่แล้ว

      @@AutomationMadeEasy
      If possible to answer this one too:
      I have 20 users using my vba project, and I have database, So I want them to check if there is a replacement in that database .. how to do that?!!
      Except spreadsheet because it is not safe.. can you advise me how to solve this problem? Please 🙏

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว +1

      all users must be on the same network as the database.

    • @ibrahimriyadhalrikabi757
      @ibrahimriyadhalrikabi757 4 ปีที่แล้ว

      @@AutomationMadeEasy no , they are in different locations!!
      Anyway thank you so much 🙏I'm grateful to you ⚘

    • @ibrahimriyadhalrikabi757
      @ibrahimriyadhalrikabi757 4 ปีที่แล้ว +1

      Hi bro, i solved it 💪
      I downloaded drive application in each user's Laptop and put the same account in ,and when someone makes changes on VBA project on his laptop.. these changes updates automatically on the others laptops 😉💪💪💪💪
      Might its easy and very useful way could help you .
      Thank you for your reply brother 🙏

  • @diljaipuria6393
    @diljaipuria6393 2 ปีที่แล้ว

    Sir when I use coding for pmfby website it's name in tab not simple like form but it's contain special characters that's why it not working

  • @AbdulSalam-vi7gt
    @AbdulSalam-vi7gt 4 ปีที่แล้ว

    How to open web link using macro pls help urgently

  • @navingupta3697
    @navingupta3697 3 ปีที่แล้ว

    It is showing IE = Empty after setting break and executing on Set IE = objshell.Windows(intWinNo).document.
    Please help

  • @kristiankonstantinus4968
    @kristiankonstantinus4968 4 ปีที่แล้ว

    i amunable to do this properly...please help...thanks

  • @TN--S
    @TN--S 3 ปีที่แล้ว

    In Firefox Browser how to do ?

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      FF not feasible. For edge refer below tutorial:
      th-cam.com/video/AEp0Yeis9AM/w-d-xo.html

  • @khilavanchakradhari1112
    @khilavanchakradhari1112 2 ปีที่แล้ว

    Web page title show in hindi font how write in vba
    Sir please help me

  • @dineshup669
    @dineshup669 4 ปีที่แล้ว

    Hi i want Enter Excel values To a web Page Already opened For Data Entry on chrome

  • @KumarAnalytic
    @KumarAnalytic 3 ปีที่แล้ว

    Sir can you please write the same code using Option Explicit?

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      you have to just decalre the variables used with option explicit

    • @KumarAnalytic
      @KumarAnalytic 3 ปีที่แล้ว

      @@AutomationMadeEasy got it, I had add some typo error not it fixed. Thank you for replying.

  • @Khalnayak_sanju143
    @Khalnayak_sanju143 4 ปีที่แล้ว

    Sir how use this code for chrome and how to defined intWInNo for excel vba my Excel showing error for intWInNo and IE variable not defined
    Please help me to solve this problem

  • @areamanager2355
    @areamanager2355 3 ปีที่แล้ว

    What if the Page title contains Hindi Letters

  • @sqrAnton
    @sqrAnton 3 ปีที่แล้ว

    no function :(