+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    18,228

    Re: How to create one file from many excel files

    Look at the macro I gave you. It has a line in there:
    Code:
    fName = Dir("*.xl*")      'filtering key, change to suit'

    In this version, it opens any file with an extension of xl???????...anything that starts with "xl".

    Fiddle with that until you have a filter that gives you the file type you want to import.

    *.xls - Excel 1997-2003 files
    *.xl* - Any normal Excel file 1997-2010
    *.* - Any file of any type (this could have odd results)
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

  2. #17
    Registered User
    Join Date
    03-09-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: How to create one file from many excel files

    I notices that the files from the site I mentioned are .cvs ...I don't know actually what is the difference between cvs and xls, but should I change that line (cvs instead of xl)

  3. #18
    Registered User
    Join Date
    03-09-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: How to create one file from many excel files

    Working !!!

    Thank you !!!

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.2.0