I am trying to convert the PDF file to excel via online converter. To do that I need to upload the file through browser button so I created a code till clicking on the button however I am not able to choose the file from dialog box.
Please help me in below code.
Sub autoIE()
Dim ie As Object
Dim Hdoc As HTMLDocument
Worksheets("Sheet6").Activate
Range("B1").Copy
Set ie = CreateObject("InternetExplorer.Application")
ie.navigate "https://www.pdftoexcelconverter.net/"
ie.Visible = True
While ie.Busy
DoEvents
Wend
Set Hdoc = ie.document
Hdoc.all("Filedata").Click
Hdoc.Value = ("C:\Users\kiranm\Desktop\2019\11.pdf")
End Sub