Most of the script is still value but the connection strings are different in Qlik Sense
In the below example, i first had to create an ODBC data source called 'Excel' which points to a fixed excel document.
Then i created a connection in Sense and added that connection to the script followed by the other script commands.
Will this work ? Its not dynamic and you can't pass an excel file name to it as a variable...