+ Reply to Thread
Results 1 to 3 of 3

Macro to Open Files from Cell Range, Save in Target WB with Corresponding Sheetname

  1. #1
    Registered User
    Join Date
    10-12-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    2

    Macro to Open Files from Cell Range, Save in Target WB with Corresponding Sheetname

    Hi Gurus,

    I am a newbie to VBA and excel macro, so please help me out as I am trying out to get the following done.

    I have a source file that has a macro that will extracted the path and filename of a series of text based files into a column, say starting from B2 to the valid end cell.
    Now I need another macro to open each of those text based file that can be delimited, have the required data sorted and summarized into one target WB with the sheetname correspond to the original file name of those text based file (mainly numerical number of 5 places plus the extension).
    The path of the target WB will be the value in one cell in my source file, say $A$2.

    This is too much for a newbie like me and hope that it is not too much for me to ask for your help.

    Thank you.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Macro to Open Files from Cell Range, Save in Target WB with Corresponding Sheetname

    help us attaching your file
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    10-12-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Macro to Open Files from Cell Range, Save in Target WB with Corresponding Sheetname

    Hi patel,

    I attached the zip file containing my file and sample text based files that I'll need to extract their test data and later import to columns of the corresponding rows.
    I need to import them to respective sheets with corresponding sheetname in a workbook that will be saved in a folder in the target path stated in A2.

    Please see if you help me.

    Thank you.
    Attached Files Attached Files
    Last edited by Vikay; 10-13-2012 at 02:15 PM.

+ 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