• You don't need a script. You can specify a wildcard in your For Each Loop container.

    For example:

    myExcelFile*.xls, where * takes place of the timestamp.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP