+ Reply to Thread
Results 1 to 2 of 2

Amend code to loop over several cells

  1. #1
    Registered User
    Join Date
    11-15-2013
    Location
    La Paz
    MS-Off Ver
    Excel 2010
    Posts
    1

    Amend code to loop over several cells

    I have the below code which does what I need it to i.e. list all the files in a folder horizontally, including subfolders

    Now, I would like this to do for every cell in column A with a file path in it.

    How do I amend this code to do such things?

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Amend code to loop over several cells

    Try this...

    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 11-15-2013 at 11:44 AM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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. Amend code to run faster
    By SOS in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-05-2008, 10:09 AM
  2. Amend This Loop Macro
    By davehunter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-28-2007, 09:52 AM
  3. Amend Code help
    By VBA Noob in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-21-2006, 03:16 PM
  4. Amend code
    By VBA Noob in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-20-2006, 05:32 PM
  5. Amend the Code
    By shan_in_dubai in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-19-2005, 04:36 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