Excel VBA Connection With Google Drive

wiseowlexcel

New Member
Joined
Dec 2, 2017
Messages
1
[FONT=&quot]Hellow Experts,[/FONT]

[FONT=&quot]Please kindly guide if there is some way that we can upload file to Google Drive Directly like CDO email.[/FONT]

[FONT=&quot]Regards,[/FONT]
 

Some videos you may like

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

John_w

MrExcel MVP
Joined
Oct 15, 2007
Messages
6,612
This can be done with Excel VBA and XMLhttpRequest to send requests to the Google Drive API - https://developers.google.com/drive/v3/web/manage-uploads

You first have to enable the Google Drive API in the Google API Console within your Google account, and then register your application (the VBA program) and generate Client ID and Client Secret strings which are then used by your code.

The code also has to handle an IE window which asks your user to give permission to use the API.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,514
Messages
5,596,611
Members
414,080
Latest member
penguin23

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
Top