VBA to Create Sub-folder in Google Drive Office
And then this is the data and within this data let's create a few folders let's call uh expense data and then we'll have this expense data.
It's done and one more folder called others yeah so all the folders has been created we'll shortly see a folder here called others yeah.
Under the parent folder uh id so this is a new uh method again this will basically return the object id lookup object id using the name yeah so if i run this now.
It will basically return this data folder id yeah so instead of specifying the code which you can do uh like this but still you can specify.
Uh in this method as well which is much more easier to do uh instead of the code okay so coming down here drive service create a.
Subfolder this is the parent folder id and then this is a new folder name that we want to create okay now we run.
So this is a new folder id and then if we go here within data you'll see a subfolder called expense data and now let's create a folder called documents.
DISCLAIMER: In this description contains affiliate links, which means that if you click on one of the product links, I'll receive a small commission. This helps support the channel and allows us to continue to make videos like this. All Content Responsibility lies with the Channel Producer.
For Download, see The Author's channel. The content of this Post was transcribed from the Channel: https://www.youtube.com/watch?v=fuYls3zvBM4
Tags:
Excel VBA