Copying an Excel file to a table's dataset

file.xlsx (8.4 KB)
file2.xlsx (8.7 KB)

file.xlsx does NOT work.
file2.xlsx DOES work.

I am currently testing from the designer.
I have this event script on a button:

I have the function in the project library:

I'm writing to a custom property "excelds":