+ Reply to Thread
Results 1 to 3 of 3

Macro to crealte folders from excel file not creating folder with / in the name

  1. #1
    Registered User
    Join Date
    07-29-2015
    Location
    Ireland
    MS-Off Ver
    MS Office 2007
    Posts
    5

    Macro to crealte folders from excel file not creating folder with / in the name

    Hi,

    I am using the below macro to create folders from an excel file, but is the text contains / then it does not create a folder in that name. Can you help please. EG - Test/Room. It will not create a folder called Test/Room

    Please Login or Register  to view this content.
    Last edited by alansidman; 03-22-2016 at 09:55 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,861

    Re: Macro to crealte folders from excel file not creating folder with / in the name

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: Macro to crealte folders from excel file not creating folder with / in the name

    Obviously, you cannot create folder named Test/Room, so do you want to create (or use if already exist) folder Test and then create folder Room in it? This way it shall work. can you write it yourself?
    Best Regards,

    Kaper

+ 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. Creating a shortcut of a file in a folder through excel vba
    By bagullo in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-27-2020, 09:21 AM
  2. [SOLVED] Search for file names in main folder and its sub folders
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-09-2015, 01:17 AM
  3. Needs macro to copy excel files from folders, subfolders to new folder
    By genetist in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-08-2014, 08:53 AM
  4. Looping File Movement From a Number of Folders to One Folder
    By jablo1312 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-15-2014, 09:48 AM
  5. Copy Files from one folder to different folders based on pdf file name
    By jtammyg in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-23-2014, 11:49 AM
  6. Creating CULUM results - Folder / Sub Folder from excel macro
    By mash1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2012, 10:19 AM
  7. Creating folders and subfolders from excel file list
    By afaubert in forum Excel General
    Replies: 4
    Last Post: 11-08-2005, 07:50 PM

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