Importing workbooks from a folder

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,595
Office Version
  1. 2021
Platform
  1. Windows
I have tried to import a file from a folder, but get data format error

I selected Data > New Query > From File > from Folder. I then browsed to the folder and clicked Ok

I then clicked on the Binary expansion button and get a data format error

Attached please find sample files

https://www.dropbox.com/s/rsibfiax0ml4ec5/BR1 Sales Report Dec 2017.xlsm?dl=0
https://www.dropbox.com/s/83n5oqi4hi8bziz/BR1 Sales Report Jan 2018.xlsm?dl=0
https://www.dropbox.com/s/urg12xhmdrebkto/Data Format Error.PNG?dl=0

I have also posted on link below

https://www.excelforum.com/excel-fo...error-when-importing-files-from-a-folder.html


It would be appreciated if someone could assist me on how to resolve this
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Re: Importing workbooks from a folfer

hi Sandy

don't I first need create new query from Folder before combining ? If not please advise of steps to follow to do this
 
Upvote 0
Re: Importing workbooks from a folfer

I mean:

combineandedit.jpg


nb. I have no error using Expand on Binary column after Edit only
 
Last edited:
Upvote 0
Re: Importing workbooks from a folfer

afaik this option exist for 2010/2013 PQ add-in also
it was done with 2016 as well

cande.gif

maybe update your Office...
 
Last edited:
Upvote 0
Re: Importing workbooks from a folfer

Hi Sandy

Thanks for the help

I ran the Office update and the functionality to combine is now available


I can now import the data from the folder without any errors
 
Upvote 0
Re: Importing workbooks from a folfer

I am glad it works for you

Have a nice day ;)
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,184
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top