Importing workbooks from a folder

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,561
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

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Re: Importing workbooks from a folfer

did you try Combine and Edit?
 
Upvote 0
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,214,585
Messages
6,120,388
Members
448,957
Latest member
Hat4Life

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