Our training courses

Other training resources

Our training venues

Why we are different

Details for sivuddu

sivuddu has participated in the following threads:

Added by sivuddu on 22 May 2021 at 17:21

I am able execute code written by WiseOwl, but i am trying execute code for site - https://fedai.org.in even i am unable to find elements by id or by name etc...

 

Tab "Rates" > Report as under

*Revaluation Rates

Lates 2 excel reports to be extracted 

Need to create folder and report name as Revaluation Rates with respective date.

getting error at object variable or withblock variable not set at HTMLButtons(0).Click because need to close pop-up screen and then need to extract the files

Option Explicit

Sub BrowseToSiteToGetXML1()

    Dim IE As New SHDocVw.InternetExplorer

    Dim XetraHTMLDoc As MSHTML.HTMLDocument

    Dim HTMLButtons As MSHTML.IHTMLElementCollection

    Dim HTMLInput As MSHTML.IHTMLElement

   

    IE.Visible = True

    IE.Navigate "https://www.fedai.org.in/"

   

    Do While IE.ReadyState <> READYSTATE_COMPLETE Or IE.Busy  'Wait until site is ready

    Loop

    Set XetraHTMLDoc = IE.Document

    Set HTMLButtons = XetraHTMLDoc.getElementsByTagName("button")

    HTMLButtons(0).Click

End Sub

Head office

Kingsmoor House

Railway Street

GLOSSOP

SK13 2AA

London

Landmark Offices

99 Bishopsgate

LONDON

EC2M 3XD

Manchester

Holiday Inn

25 Aytoun Street

MANCHESTER

M1 3AE

© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.

End of small page here
Please be aware that our website uses cookies!
I'm OK with this Tell me more ...