+ Reply to Thread
Results 1 to 6 of 6

Copy cells if match in separate files

  1. #1
    Registered User
    Join Date
    03-30-2011
    Location
    Swansea
    MS-Off Ver
    Excel 2007
    Posts
    72

    Copy cells if match in separate files

    I have two files: 'Aa' and 'Address'
    From file 'Aa' i need to look at each individual Account number in column I (Account) then open file 'Address' and match with column C (Account)....... then copy that rows cells in column D, E, F, G, H, I, J and K then paste into file 'A' column J, K, L, M, N, O, and P.

    So the code i have been trying is below, but i dont understand it enough to change it correctly.....

    Please Login or Register  to view this content.
    I have attached the two files.......
    Last edited by MAButler; 05-17-2011 at 06:10 PM.

  2. #2
    Forum Contributor
    Join Date
    10-08-2006
    Location
    Walnut, CA
    MS-Off Ver
    2003,2010, Office 365
    Posts
    114

    Re: Copy cells if match in seperate files

    Hi,

    Try this
    Please Login or Register  to view this content.
    Tony

  3. #3
    Registered User
    Join Date
    03-30-2011
    Location
    Swansea
    MS-Off Ver
    Excel 2007
    Posts
    72

    Re: Copy cells if match in seperate files

    It sort of works.... But at each cell and line it asks for path to file 'Address', I have tried to type it into code but then i get an error....

    Please Login or Register  to view this content.
    The files are not stored in the same folder. The data in the files could be any number of rows.

  4. #4
    Registered User
    Join Date
    03-30-2011
    Location
    Swansea
    MS-Off Ver
    Excel 2007
    Posts
    72

    Re: Copy cells if match in seperate files

    Both files need to be open at same time.....

    Is there a way of just having the data in the cell not the formula???

    Is there away of bringing over the titles from 'Address' row A??
    Last edited by MAButler; 05-15-2011 at 12:33 PM.

  5. #5
    Forum Contributor
    Join Date
    10-08-2006
    Location
    Walnut, CA
    MS-Off Ver
    2003,2010, Office 365
    Posts
    114

    Re: Copy cells if match in seperate files

    Hi,

    Try this one
    Please Login or Register  to view this content.
    Tony

  6. #6
    Registered User
    Join Date
    03-30-2011
    Location
    Swansea
    MS-Off Ver
    Excel 2007
    Posts
    72

    Re: Copy cells if match in separate files

    Thanks for that will try it when i get in...... and let you know

+ 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