+ Reply to Thread
Results 1 to 4 of 4

Create macro to create unique folder from excel file with generic sub file stucture

  1. #1
    Registered User
    Join Date
    06-29-2011
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Create macro to create unique folder from excel file with generic sub file stucture

    I am trying to create code that will extract a unique file name from excel and create a generic sub folder under each unique folder.

    Example:
    Unique Folder
    - Project A
    Sub Folder structure
    - Initiation Phase
    - Definition Phase
    - Execution Phase
    - Close Out Phase

    I have found and adapted the below code from another post on this forum to create the unique folder but am unable to code the generic folder creation part

    Any assistance in this development is appreciated.

    Please Login or Register  to view this content.
    Last edited by srf_art; 09-30-2011 at 04:38 AM.

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Create macro to create unique folder from excel file with generic sub file stuctu

    You misused the CODE brackets. The second one should have a backslash before CODE like
    \CODE.
    Can you please amend your post so we can help you?
    Thanks

  3. #3
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Create macro to create unique folder from excel file with generic sub file stuctu

    srf_art,

    You should be able to use the following:
    Please Login or Register  to view this content.


    Hope that helps,
    ~tigeravatar
    Last edited by tigeravatar; 09-30-2011 at 05:52 AM. Reason: User corrected code tags in OP

  4. #4
    Registered User
    Join Date
    06-29-2011
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Create macro to create unique folder from excel file with generic sub file stuctu

    Works a treat thanks tigeravatar
    Last edited by srf_art; 09-30-2011 at 04:37 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1