Hello All,
How to read/download excel sheet from Sharepoint site?
Regards,
Trivvikrum
Well, Sharepoint can be mapped to a network drive just like any other network drive. If you speak to your IT group they should be able to help you with this. Note that your SAS will need to be able to access that network area - i.e. if your SAS is a network then that network needs access rights to Sharepoint - often that is done locally on your machine. Again, your IT will be able to help with this.
Once you have it linked as a network path, then you simply import as normal:
proc import datafile="d:\<path>\<filename>.xlsx"...
Where D is mapped to the Sharepoint site.
Hi,
This solution doesn't work and it would be good if you provide code as well.
//Trivvikrum
Hi,
Assume thats toward me yes? What "doesn't work"? The code you want is a simple proc import of a file once you have sharepoint mapped to network drive. What did your IT group say?
Hello,
Just puzzle pieces never done this before 🙂
How about using the URL access method to get the file and Sharepoint Excel Services REST.
Using the REST API, you can access workbook parts or elements directly through a URL so hopefully it works with filename url access method.
Best regards,
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: