I want to read an xlsx file that was created in Microsoft Excel, but when I run the following code...
xlsx
$Source_File = \"test.xlsx\"; $Spreadsheet
I had the same issue, after adding .xlsx files to a git repository on my Mac. The problem was that git auto-converted the line endings.
The solution was to add these lines to the .gitattributes file:
.gitattributes
*.xls binary *.xlsx binary