I would like to parse the following Excel file which perfectly open in the application.
I browsed the Internet and lots of guys said that those two command lines do open Excel files (example Read Excel sheet in Powershell).
$excel = New-Object -com excel.application
$wb = $excel.workbooks.open("c:\users\administrator\my_test.xls")
But I have got the following exception:
Exception calling "Open" with "1" argument(s): "Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD))"
How to outputs the value of each cell read-only, if possible keeping the rows ?