Try this:
Dim CurrentWindow As HTMLWindowProxy: Set CurrentWindow = ie.Document.parentWindow
Call CurrentWindow.execScript("exportData(workOrderSearchForm)")
But first you will need to include Microsoft HTML Object Library under References (Tools>References)
More Related Contents:
- Excel VBA: Get inner text of HTML table td
- Export html table data to Excel using JavaScript / JQuery is not working properly in chrome browser
- HTML Table to Excel Javascript
- How can I export Excel files using JavaScript? [closed]
- Converting Excel Date Serial Number to Date using Javascript
- Export to xls using angularjs
- How can I lock the first row and first column of a table when scrolling, possibly using JavaScript and CSS?
- Is it possible to use any HTML5 fanciness to export local storage to Excel?
- Encoding UTF-8 when exporting HTML table to Excel
- Parse XLSX with Node and create json
- How to find and call javascript method from vba
- Javascript to export html table to Excel
- How do I export multiple html tables to excel?
- Fill user name and password in a webpage using VBA
- Copy/Paste from Excel to a web page
- How to export an HTML table as a .xlsx file
- How to read an excel file contents on client side?
- jQuery multiply vars inside value [duplicate]
- Handle response – SyntaxError: Unexpected end of input when using mode: ‘no-cors’
- Data-toggle tab does not download Leaflet map
- Detect when an image fails to load in JavaScript
- Make several requests to an API that can only handle 20 request a minute
- \u200b (Zero width space) characters in my JS code. Where did they come from?
- Extending Object.prototype JavaScript
- Shrink DIV to text that’s wrapped to its max-width?
- d3.js chemical tube bar chart
- How to pass variable value between different html pages in javascript
- Relative paths with fetch in Javascript
- PhoneGap: Detect if running on desktop browser
- Form Validation With Bootstrap (jQuery)