BookmarkSubscribeRSS Feed
Wagner_Andrade
Fluorite | Level 6

I need to export an .xlsx document to a Google Drive folder. It's possible?

Could someone send me a code as an example?

4 REPLIES 4
Reeza
Super User

If you have the file assigned as a drive in your computer then it can write there without issue. Or do you mean directly to the cloud?

 

 

Wagner_Andrade
Fluorite | Level 6
Reeza, good morning!
I need to export directly to the cloud.
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Assuming you use Win/Mac and you have the Google Drive app installed:

https://support.google.com/drive/answer/2374987

 

Then there will be a sync'd folder named Google Drive which you can write your file out to.

 

Otherwise you need to interact with a browser upload window, whilst possible to script, probably isn't worth the effort.

Wagner_Andrade
Fluorite | Level 6

Thank you RW9!
I'll try to request the app to be installed on the Server.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1965 views
  • 2 likes
  • 3 in conversation