Hi guys,

On the website:
https://www.freemaptools.com/how-far-is-it-between.htm

I am trying to click on the "show" button, when 'inspecting the button


What would I need to click the button via vba excel?


    Dim IE As Object
    Set IE = CreateObject("InternetExplorer.Application")

    IE.navigate "https://www.freemaptools.com/how-far-is-it-between.htm"
    'IE.navigate "http://www.mapdevelopers.com/distance_from_to.php"
    IE.Top = 0
    IE.Left = 0
    IE.Width = 800
    IE.Height = 600
    IE.Visible = True
    Do
    DoEvents
    Loop Until IE.readyState = READYSTATE_COMPLETE
below is a few of the codes I have tried to click.

IE.document.getElementsByTagName("fmtbutton").submit
IE.document.tabIndex("0").Click

thanks guys.