{"id":4788,"date":"2016-11-28T06:36:36","date_gmt":"2016-11-28T06:36:36","guid":{"rendered":"http:\/\/www.learnexcelmacro.com\/wp\/?p=4788"},"modified":"2017-10-17T21:22:59","modified_gmt":"2017-10-17T21:22:59","slug":"excel-tool-folder-structure-creator","status":"publish","type":"post","link":"https:\/\/vmlogger.com\/excel\/2016\/11\/excel-tool-folder-structure-creator\/","title":{"rendered":"Excel Tool : Folder Structure Creator"},"content":{"rendered":"
Dear readers, No matter how complex and how deep folder structure is, it will get created in seconds. To create folder structure, click on the “Create Now>>” button to do so.<\/p>\n Suppose you want to replicate an existing folder structure in your PC. So to do this, you can even copy the root folder and paste it – but there is a major disadvantage of this method. You are copying the files as well with the folder structure. You need to delete them all manually – which is a very time consuming and boring task. Using this tool you can simply read any existing folder structure and then by modifying the first root folder name, you can click on “Create Now>>” and folder structure is replicated without copying any content of the folder structure.<\/p>\n In big organizations when folder structure is left to individual choice then it becomes really messy as every one will try to organize the structure in a way they like. At the end each one of us are forced to browse each and every folder to find your document, which is not efficient. Therefore, it is a good practice to maintain a common folder structure across organization for each projects. Mainly there are 3 rules: This is path where you want to create your folder structure. This path can be typed manually or it can be selected by clicking on Browse button.<\/p>\n As explained above, in this tool you can define your own template. As soon as you have defined your template, you can see the name your new template in this drop down. After selecting the drop down, you need to click on Load Template button in order to display your defined structure.<\/p>\n Validate button checks if all these 3 rules are satisfied in your defined structure or not. Unless these rules are met, it will not allow you to create your folder structure.<\/p>\n By clicking on this button you can get the folder structure which is there at your given main folder path<\/strong>. Once your structure is loaded here in this sheet, now you can provide a different folder path and click on Create Now >> <\/strong> to create \/ replicate the same folder structure.<\/p>\n As the name suggests, this is button which does the magic of creation of the defined folder structure.<\/p>\n In this field you will see all the messages\/errors which occurs during any of the above operations.<\/p>\n Row 9 is defined to have the level headers and Cell B10 (name range= startRange) is the starting point where your first node should be specified.<\/p>\n Steps are defined and explained in the Excel workbook itself in the template sheet. Kindly read them before adding any new template.<\/p>\n Folder Structure Template<\/p><\/div>\n I will try to explain about the VBA code which I have used to create this tool in my next article. Meanwhile you can read my previous article<\/a> where I had explained how to list all the folders and sub folders from a given path. In fact I am calling the same function on clicking on List existing Structure<\/strong> button. see you till my next article and don’t forget to download this workbook \ud83d\ude42<\/p>\n Here is your FREE copy of the Folder Structure creator excel tool. Download this, use it and do not forget to provide me your thoughts on it by typing your comment here or sending en email or you can twit me <\/a> You can also share it with your friends colleagues and most importantly your Boss \ud83d\ude00 Dear readers, In my previous article I posted an article about how to create folder in windows by Excel VBA code. That triggers me to build an Excel tool to create a hierarchical or Tree folder structure in any directory which is defined by you in excel sheet. Before I built this tool, I was […]<\/p>\n","protected":false},"author":45,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[1246,1678,1682],"tags":[],"class_list":["post-4788","post","type-post","status-publish","format-standard","hentry","category-macro","category-interesting-vba-functions","category-popular-articles"],"yoast_head":"\n
\nIn my previous article I posted an article about how to create folder in windows by Excel VBA code.<\/a> That triggers me to build an Excel tool to create a hierarchical or Tree folder structure in any directory which is defined by you in excel sheet. Before I built this tool, I was thinking what is TOP 3<\/strong> problem is it going to solve of my readers and here are the answers:<\/p>\n<\/p>\n
1. Creating folder structure in No time<\/h2>\n
<\/p>\n
Replicate any existing folder structure<\/h3>\n
<\/p>\n
Define your own Folder structure templates<\/h2>\n
\nIn such case all you can define your folder structure according to your need and save them as a template. Here on whenever there is new project, you can select that template and create the same folder structure for the new project.<\/p>\nRules to Define Folder Structure here in Excel<\/h3>\n
\n1. Your first Root Node should start from Range B10<\/strong> as highlighted in the above picture as point no 9<\/strong>
\n2. Any of the child node can not be stated in the same row in next column.
\n3. Any of the row should not be blank.<\/p>\nHow to use the tool<\/h1>\n
1 and 2. Main Folder Path and Browse button<\/h2>\n
3 and 4. Existing Templates drop down and Load template<\/h2>\n
5. Validate button<\/h2>\n
6. List existing Structure<\/h2>\n
7. Create Now >><\/h2>\n
8. Messages<\/h2>\n
9 and 10 – Labels header and First Node<\/h2>\n
How to define a new template<\/h3>\n
<\/a>
About the VBA code used behind each buttons<\/h1>\n
FREE Download<\/h2>\n
\n
\n
\n<\/a><\/p>\n<\/span>","protected":false},"excerpt":{"rendered":"