+ Reply to Thread
Results 1 to 4 of 4

Looping through a folder of files in VBA

  1. #1
    Registered User
    Join Date
    06-13-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Looping through a folder of files in VBA

    Hi, I am super new to VBA macro and teaching myself as I go. I was wondering if someone could help me by posting an outline for running a loop? Specifically, I would like for the VBA macro that I write to apply itself to all of the individual files in a specific folder. Is that possible?

    I was planning on writing the actual tasks for it to perform on each file either through "Record Macro" or the tutorials that I have found.

    Also, could someone also explain how to operate a loop to begin with? Do all of the workbooks need to be open or what?

    Thank you for your help-this project for my class is due in the morning.
    Last edited by lizzo; 06-13-2013 at 12:25 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Hi, I'm new and looking for VBA macro help

    Hi and welcome to the forum

    We would love to help you with your question, but 1st, in accordance with forum rules, please rename your thread to something more meaningful, that actually describes your problem.

    Because thread titles are used in searching the forum it is vital they be written to accurately describe your thread content or overall objective using ONLY search friendly key words. That is, your title used as search terms would return relevant results.

    Many members will look at a thread title, and if it is of interest to them, or it falls within their area of expertise, they might only open those threads.

    Look at it this way...if you typed that title into google, what would you expect to get back?
    To change a Title on your post, click EDIT on you're 1st post, then Go Advanced and change your title
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Looping through a folder of files in VBA

    Thanks for the thread title change, Im sure some-one will offer some suggestions for you

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Looping through a folder of files in VBA


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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