Consulting

Results 1 to 4 of 4

Thread: Solved: Files names in to the sheets.

  1. #1
    VBAX Regular
    Joined
    Aug 2006
    Posts
    55
    Location

    Solved: Files names in to the sheets.

    http://vbaexpress.com/kb/getarticle.php?kb_id=221
    I have this macro but is this posible to at a macro that gif all the names from the files in to de tabsheets?


    C: \ Invoices\ANTONIO's-2009-28-09-192110.xls
    C: \ Invoices\ANDALUUS BV-2009-27-09-215241.xls...

    thanks
    Last edited by Pinokkio; 10-04-2009 at 03:03 AM.

  2. #2
    I have used various codes available on vbaexpress.com to come up with a customised tool.

    The attached file combines all the files in the folder into a single file as different sheets then does some formatting changes to all the sheets available in the Master file.

    Your problem is getting the sheets in the Master file to be renamed as the original file name. I have tried sorting this problem by keeping a common unique cell in all the files to be replaced as the sheet name in the Master file.

    In this case the unique cell in all the files is A2.

    Try this code…. Hope you find it usefull.
    Best regards

  3. #3
    VBAX Regular
    Joined
    Aug 2006
    Posts
    55
    Location
    This is exactly what I want.

    Thanks

    Jean Pierre

  4. #4
    Glad to be of help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •