+ Reply to Thread
Results 1 to 3 of 3

Code to create folders is no longer working

  1. #1
    Registered User
    Join Date
    12-26-2024
    Location
    Jupiter, Florida
    MS-Off Ver
    365
    Posts
    2

    Code to create folders is no longer working

    This is the code I have used for years and now it does not work. The line starting with 'If Len...." seems to be an issue. I did not write this however found it on the web several years back. Any help would be greatly appreciated.


    Please Login or Register  to view this content.
    Last edited by zbor; 12-26-2024 at 03:56 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,023

    Re: Code to create folders is no longer working

    Welcome to the Forum cmunroe1015!

    What does "it does not work" mean? What do you expect it to do, and what does it do instead?

    What text is in the cells that you are looping through to create the folders?

    The first thing I notice is that the code includes
    Please Login or Register  to view this content.
    which does absolutely nothing at all. It seems like you should have
    Please Login or Register  to view this content.
    there, but without knowing more about your file I can't say for sure.

    Also, we recommend that you include code tags around your 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, and it also maintains VBA formatting. A Moderator has added them for you in your post.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    12-26-2024
    Location
    Jupiter, Florida
    MS-Off Ver
    365
    Posts
    2

    Re: Code to create folders is no longer working

    I am trying to create file folders from a list in excel. The text would be something like this "PROC-0005678 Business Management"

+ 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. [SOLVED] Code no longer working help please
    By richie176 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-25-2019, 07:15 AM
  2. [SOLVED] Code no longer Working, Error 91
    By Barn01 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-14-2018, 12:15 AM
  3. [SOLVED] Code to create Folders and sub folders based on variable cell values
    By maxwell13 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-03-2015, 09:28 PM
  4. PasteSpecial in VBA Code No Longer Working
    By kmsandrbs in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-06-2014, 01:27 PM
  5. VB Code no longer working
    By buttercup1227 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-06-2014, 10:38 AM
  6. Macro to create new sheets based on template no longer working
    By pauldaddyadams in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-16-2012, 03:51 PM
  7. VBA Code no longer working
    By jdbel in forum Excel General
    Replies: 16
    Last Post: 11-16-2011, 07:33 PM

Tags for this Thread

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