Results 1 to 6 of 6

Open list file and copy sheet

Threaded View

matrix_xrs Open list file and copy sheet 08-15-2013, 11:09 PM
patel45 Re: Open list file and copy... 08-16-2013, 02:47 AM
matrix_xrs Re: Open list file and copy... 08-17-2013, 10:08 AM
patel45 Re: Open list file and copy... 08-17-2013, 11:24 AM
matrix_xrs Re: Open list file and copy... 08-18-2013, 08:46 AM
patel45 Re: Open list file and copy... 08-18-2013, 01:27 PM
  1. #1
    Registered User
    Join Date
    03-18-2012
    Location
    canada
    MS-Off Ver
    Excel 2007
    Posts
    42

    Open list file and copy sheet

    Hi,

    i'm hoping someone here can give me some directions with a macro i'm trying to create

    I'm trying to create a macro that will look at a list of files open the first one and then search the sheet names and if the sheet names matches the file name copy the sheet to the opened file.

    example:

    file 1:
    sheet1 Contains a list of file name and path
    sheet2: apple
    Sheet3: banana
    Sheet4: car


    macro will open first file in list and lets assume it is called apple.xlsx

    it will open file and then search file 1 sheet name and if there is a sheet called apple it will copy the sheet to the opened file.


    it will continue doing this until the list is complete

    fairly new to macro and need some directions as to how to complete this. any help is greatly appreciated

    attached a file for sample

    thanks a million
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] VBA to Open File (filename contains current date) & copy Sheet to active workbook
    By jlstidham in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-12-2013, 10:50 PM
  2. open file base on the list and copy some information.
    By lie21073 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2013, 05:26 PM
  3. [SOLVED] Open Excel file with filedialog and copy it into sheet 2
    By abjac in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-14-2012, 09:37 AM
  4. [SOLVED] open variably named file, copy/paste data into consolidation file, open next file in list
    By sllawrence1968 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2012, 09:49 PM
  5. use file list to open files to copy cells over
    By chi11 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-09-2012, 12:25 PM

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