Get data excel issues

vbacoder12

New Member
Joined
Sep 4, 2024
Messages
24
Office Version
  1. Prefer Not To Say
Platform
  1. Windows
I am having issues pulling data from teams folder using excel get data. I want to use excel get data from folder and basically pull all files that appear in the teams folder. Any suggestions on how to do this
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
A Teams folder is Sharepoint, so you want this option (in 365):

1732618585971.png


and you will need the correct URL for the folder.
 
Upvote 0
Then it probably is. ;) How did you get the URL? The best way is usually from the details pane in Sharepoint.
 
Upvote 0
Then it probably is. ;) How did you get the URL? The best way is usually from the details pane in Sharepoint.
I've tried going into details and tried opening sharepoint and getting through there. When I do that I am getting a 404 error. Can you take a screen shot of what you referring to as the details pane
 
Upvote 0
They keep changing the functionality which is quite annoying - the copy path button doesn't seem to work for me anymore, so I suggest you open the folder in Sharepoint and click the Copy link button on the menu. That will give you a link in the form of:

https://companyname.sharepoint.com/:f:/r/teams/team_name_and_code_number/Shared%20Documents

The blue bits will be different for each company and team. From that, all you want is everything up to and including the team name and number, but remove the /:f:/r part, so it will look like this:


and that is what goes into the
Power Query:
SharePoint.Files("URL here")

function. That will bring back everything in the site, so you'll need to filter appropriately from there.
 

Attachments

  • 1732645426037.png
    1732645426037.png
    2.3 KB · Views: 1
  • 1732645481081.png
    1732645481081.png
    1.3 KB · Views: 1
Upvote 0

Forum statistics

Threads
1,224,815
Messages
6,181,136
Members
453,021
Latest member
Justyna P

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