Here is my VBA code:
Code:
IE.document.getelementbyid("statementFilterDropDown").Focus
IE.document.getelementbyid("statementFilterDropDown").selectedindex = 10
IE.document.getelementbyid("statementFilterDropDown").fireEvent "onchange"
IE.document.getelementbyid("statementFilterDropDown").Click
IE.document.getelementbyid("dateRangeFrom").Value = StartDate
IE.document.getelementbyid("dateRangeTo").Value = EndDate
The thing is, it all works once the date ranges are visible, which only happens after the option "date range" is chosen from the drop down menu manually. the .selectedindex = 10 works correctly, but just wont update the website to view the date ranges.
here is the html script
Last edited: