+ Reply to Thread
Results 1 to 5 of 5

loop through files and copy last column

  1. #1
    Registered User
    Join Date
    05-23-2011
    Location
    New York, NY
    MS-Off Ver
    Excel 2010
    Posts
    79

    loop through files and copy last column

    Hello,

    I need a to loop through all excel files in a specified folder and copy the last column of data to a destination worksheet. Can someone please help me with the code for this, i do not even know where to start.

    Thanks

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: loop through files and copy last column

    hi, gsurge, attach couple of sample files and result file.

  3. #3
    Registered User
    Join Date
    05-23-2011
    Location
    New York, NY
    MS-Off Ver
    Excel 2010
    Posts
    79

    Re: loop through files and copy last column

    i cannot really do that, but its a straight forward worksheet. do you have a sample code I could work from?

  4. #4
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: loop through files and copy last column

    why not to use search?

    example: http://support.microsoft.com/kb/139724

  5. #5
    Registered User
    Join Date
    05-23-2011
    Location
    New York, NY
    MS-Off Ver
    Excel 2010
    Posts
    79

    Re: loop through files and copy last column

    here is my code
    Please Login or Register  to view this content.


    Instead of column BG, i would like the last used column
    Last edited by Leith Ross; 05-26-2011 at 12:02 PM. Reason: Added Code Tags

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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