Results 1 to 2 of 2
  1. #1
    MSDeveloper is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2012
    Location
    UK
    Posts
    2

    Smile Create Windows Folder Regime (Many Sub Folders)

    The attached VBA code will create a windows folder regime with any number of sub-folders
    given a valid root name

    eg "\\Server Name\Shared Folder Name\SubFolderOne\SubFolderTwo\...\SubFolderMax"

    There are a recursive calls in the code.



    Also you must create a reference to the "Microsoft Scripting Runtime"
    in your VBA Development Environment

    Mainly used in startup forms of applications to ensure key folders used are always there.
    Attached Files Attached Files

  2. #2
    istari88 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Kentucky, USA
    Posts
    13

    good code

    Very useful code thanks

Please reply to this thread with any new information or opinions.

Similar Threads

  1. mkdir basic help - create folder for each new record
    By hstroud38 in forum Programming
    Replies: 6
    Last Post: 03-28-2012, 04:30 PM
  2. VBA to create PDF and folder if doesn't exist!
    By crxftw in forum Programming
    Replies: 2
    Last Post: 08-08-2011, 08:53 AM
  3. Check path in another form and create folder
    By anandram in forum Programming
    Replies: 6
    Last Post: 05-02-2011, 12:23 PM
  4. create On Click to go to specific server folder
    By airhud86 in forum Programming
    Replies: 1
    Last Post: 01-05-2010, 12:45 PM
  5. Replies: 0
    Last Post: 12-16-2009, 09:28 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums