fix for Excel files containing ref files not for all sheets