Forum

Identifying workboo...
 
Notifications
Clear all

Identifying workbooks causing errors in import from folder

3 Posts
2 Users
0 Reactions
57 Views
(@catherinea)
Posts: 6
Active Member
Topic starter
 

I was using Data > From Folder and building a query from a folder with 115 workbooks in it. I kept getting errors. I discovered some of the workbooks had an additional worksheet, and removing that from the workbooks solved the problem. But I found that tab by manually opening each workbook and looking to see if it had that additional worksheet. Is there any way to use PQ or some other tool to tell me which workbooks are causing the problem? (Would have saved me having to go through each workbook.) 

Thanks
Catherine 

 
Posted : 09/04/2019 5:40 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Catherine,

Before you click on the double down arrow on the 'Content' column to combine the binary files, add a column with this formula:

=Excel.Workbook([Content])

This will give you a column containing tables. Click the double headed arrow on the new column and it will list the sheets in the files.

Mynda

 
Posted : 09/04/2019 7:53 pm
(@catherinea)
Posts: 6
Active Member
Topic starter
 

Great tip, thank you!

 
Posted : 11/04/2019 12:12 am
Share: