# Create sub folders using excel sheet fields value

**URL:** <https://community.automationedge.com/t/create-sub-folders-using-excel-sheet-fields-value/2529>\
**Category:** Get Help & Discuss\
**Created:** [August 29, 2020, 9:12am UTC](https://community.automationedge.com/t/create-sub-folders-using-excel-sheet-fields-value/2529 "2020-08-29T09:12:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonam](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sonam](https://community.automationedge.com/u/sonam)\
**Post date:** [August 29, 2020, 9:12am UTC](https://community.automationedge.com/t/create-sub-folders-using-excel-sheet-fields-value/2529/1 "2020-08-29T09:12:16Z")

</div>

I want to create one folder inside another folder where the names of the folder will be taken from excel sheet. I am able to create the sub folders normally but I want to create them by using fields from excel sheet. How can that be achieved in PS.

---

<div class="post-metadata">

**Author:** ![AE\_Support](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/ae_support/32/354_2.png) [@AE\_Support](https://community.automationedge.com/u/AE_Support)\
**Post date:** [September 2, 2020, 4:49am UTC](https://community.automationedge.com/t/create-sub-folders-using-excel-sheet-fields-value/2529/2 "2020-09-02T04:49:40Z")

</div>

You can do this using inbuilt **createFolder** method under File Functions in Modified JavaScript Step.

---

<div class="post-metadata">

**Author:** ![Arun9047](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@Arun9047](https://community.automationedge.com/u/Arun9047)\
**Post date:** [June 26, 2021, 7:12am UTC](https://community.automationedge.com/t/create-sub-folders-using-excel-sheet-fields-value/2529/3 "2021-06-26T07:12:56Z")

</div>

How can we create folder using this file function. i need to create folders based on the message number. which i have stored in excel sheet. i need to dynamically create the folders.
