+ Reply to Thread
Results 1 to 4 of 4

Loop Through Folder - extract Wb and Sheet Names

  1. #1
    Forum Contributor
    Join Date
    07-11-2009
    Location
    NYC,USA
    MS-Off Ver
    Excel 2007
    Posts
    135

    Loop Through Folder - extract Wb and Sheet Names

    I have tried to modify various codes with no success to :
    Loop Through files in a particular folder -
    Then list the workbook names for each workbook -
    together with their corresponding sheets names.


    Suggestions would be greatly appreciated.

    This will be for Excel 2007.





    Thanks
    Mark
    Last edited by max57; 05-18-2010 at 12:36 AM.

  2. #2
    Forum Contributor
    Join Date
    07-11-2009
    Location
    NYC,USA
    MS-Off Ver
    Excel 2007
    Posts
    135

    Re: Loop Through Folder - extract Wb and Sheet Names

    I was trying to modify some code by Dave Hawley.
    I thought I could add and delete a few thing to do what I needed.

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: Loop Through Folder - extract Wb and Sheet Names

    Hi max57,

    Try this - just change the varaibles I've noted as "change to suit" to meet your requirements:

    Please Login or Register  to view this content.
    HTH

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  4. #4
    Forum Contributor
    Join Date
    07-11-2009
    Location
    NYC,USA
    MS-Off Ver
    Excel 2007
    Posts
    135

    Thumbs up Re: Loop Through Folder - extract Wb and Sheet Names

    Robert

    Thanks so much!
    Exactly what I needed!!

    In looking at your code, I can see that I wasn't even close.
    Very nice job.

    Much obliged.

    Mark

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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