User upload data, manipulate and download data

Does the function (some_function) iterate through all of the sheets if I import an excel file?