I'm currently working on automating tasks on a website using VBA, specifically an online banking system where I am trying to export Transaction History data into a .csv file. Everything seems to be running smoothly until I reach the final Export button, which is causing some issues. Here's a glimpse of what I'm experiencing:
The VBA code snippet I've been utilizing to click this button is as follows:
Set IEApp = New InternetExplorer
IEApp.Document.getElementByName("j_idt49:j_idt61").Click
And the error message thrown back at me is:
Run time Error '438': Object doesn't support this property or method
This is a section from the HTML code that corresponds to the button in question:
<input type="submit" name="j_idt49:j_idt61" value="Export">
I've been experimenting with various solutions over the past few days without any success. Any insights on how to automate clicking this button would be greatly appreciated. Thank you.