+ Reply to Thread
Results 1 to 2 of 2

Create new folders with VBA

  1. #1
    Registered User
    Join Date
    07-12-2014
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    67

    Create new folders with VBA

    Hi, I'm looking for a way to create some new folders based on cell values. So, If I have a column like this:

    Apples
    Bananas
    Oranges

    I would have 3 folders in my H:/ drive labeled "Apples", "Bananas", and "Oranges". The rows will always be the same, but there can be any number of cells with values, so if the sheet looked like this:

    Apples
    Bananas
    Oranges
    Grapes
    SummerSausage

    I would have 5 folders in my H:/ drive labeled "Apples", "Bananas", "Oranges", "Grapes", and "SummerSausage".

    Thanks!

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Create new folders with VBA

    http://www.ozgrid.com/forum/showthread.php?t=32259
    http://www.ozgrid.com/forum/showthread.php?t=57145
    http://www.techonthenet.com/excel/formulas/mkdir.php
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Loop through folders and create folders
    By paesu57 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-07-2014, 11:23 AM
  2. [SOLVED] Create folders and Sub folders and Sub-Sub folders from 5 columns with VBA
    By arleutwyler in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-11-2014, 04:16 PM
  3. To create folders as per worksheet names and create worksheets under them
    By Anchal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2013, 03:01 AM
  4. Create folders and move and copy files into that folders
    By vijaybharthi in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-31-2010, 04:01 AM
  5. [SOLVED] To create folders using VBA
    By Sri in forum Excel General
    Replies: 1
    Last Post: 02-04-2005, 10:06 AM

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