+ Reply to Thread
Results 1 to 3 of 3

Selecting / Copying information from another file.

  1. #1
    Registered User
    Join Date
    08-28-2008
    Location
    Tulsa
    Posts
    41

    Selecting / Copying information from another file.

    I have a macro that pulls data from every excel file in a directory. This is in a file called master.xls

    Column K in master.xls contains the file path and file name were the documents are located. Eg c:/excelfiles/1.xls, 2.xls etc.

    Each file has a page called Detail; I would like to be able to select the files that I want to copy that Detail page from.

    That detail page would then be copied and added to the master.xls I will be selecting more than one file at a time, so as the detail pages are copied over they would have to be renamed e.g. detail 1, detail 2.

    Any help would be appreciated.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    It would help if we could see your code
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    08-28-2008
    Location
    Tulsa
    Posts
    41
    Sure, Macro Pulls some of the master data over. The file location and name in K is generated by using this

    =SUBSTITUTE(SUBSTITUTE(LEFT(CELL("filename",A1),FIND("]",

    in the excel file

    Please Login or Register  to view this content.

+ 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