Results 1 to 4 of 4

Open the latest file to copy and paste data in another file

Threaded View

  1. #1
    Forum Contributor
    Join Date
    06-15-2007
    Location
    Scotland
    Posts
    142

    Open the latest file to copy and paste data in another file

    Hello Forum.

    I would like to do the following
    I have a folder with sub folders with the following structure

    C:\\File\File 1 Jan 2008
    \File 2 Feb 2008
    \….

    Each month folder has a file e.g in the folder File 2 Feb 2008 I have this:
    file 01022008.xls
    file 03022008.xls
    file 07022008.xls

    So base in a cell value (month and year) in the master spreadsheet, I would like to access the latest file in the corresponding folder and retrieve data from there.

    For example if the user choose Feb 2008, the code has to go to File 2 Feb 2008, folder, read and choose file07022008.xls, open it find a specific value and the related data and then populate the table in the master spreadsheet.

    Any light how to do it? I tryed something but not working
    Attached Files Attached Files

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