+ Reply to Thread
Results 1 to 6 of 6

Help needed - List of names new excel to be created and saved

  1. #1
    Forum Contributor prabhuduraraj09's Avatar
    Join Date
    05-19-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    330

    Help needed - List of names new excel to be created and saved

    Hi all,

    Need some help, I have file with list of repeated name like below.

    I need vba solution, to create new excel file in the name of each of the names and paste their relevant data.
    This file need to be saved in some destination folder.

    As per below data, there are 3 names Michele , Antony and Patric
    So 3 files to be created and saved in destination path.
    In Michele file, only Michele data should be reflecting with Header
    so as for Antony and Patric.

    ( Attached sample file )

    Name No of task
    Michele 12
    Michele 23
    Michele 34
    Michele 3
    Michele 5
    Michele 4
    Michele 45
    Michele 56
    Michele 44
    Michele 34
    Michele 2
    Antony 23
    Antony 12
    Antony 34
    Antony 45
    Antony 656
    Patric 65
    Patric 67
    Patric 88
    Patric 67



    i would need help on this.
    Attached Files Attached Files
    Thank you

    If I have helped you in someway, use the * icon below to give reputation feedback, it is appreciated.

  2. #2
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,785

    Re: Help needed - List of names new excel to be created and saved

    Try this

    Please Login or Register  to view this content.
    Teach me Excel VBA

  3. #3
    Forum Contributor prabhuduraraj09's Avatar
    Join Date
    05-19-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    330

    Re: Help needed - List of names new excel to be created and saved

    Hi Imran,

    Appreciate your help in this. Just one issue.
    The last row data is missing for all the names

  4. #4
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,304

    Re: Help needed - List of names new excel to be created and saved

    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  5. #5
    Forum Contributor prabhuduraraj09's Avatar
    Join Date
    05-19-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    330

    Re: Help needed - List of names new excel to be created and saved

    Hi bakerman2

    You knocked it..Appreciate your help in this.

    I have data in other sheets also in the same workbook.
    Now with this code, Say for Antony. File is created and from source file Sheet1 Antony data is being copied. This is good.

    However is there any way to put condition, to check other sheets also in the source file. If Antony data is found in Sheet 2 , same data would copied to sheet 2 of Antony file.
    Accordingly copy all the data from other sheets for Antony.

    Like wise for patric etc.,

    when i tried with this code, i can see "Sheet 2" data is getting erased. I know this is because my initial file didnt have any other sheets apart from sheet1. Apologise from my end.

    Let me know if this is possible.

  6. #6
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,785

    Re: Help needed - List of names new excel to be created and saved

    Quote Originally Posted by prabhuduraraj09 View Post
    Hi Imran,

    Appreciate your help in this. Just one issue.
    The last row data is missing for all the names
    Working fine for me.extracting all records.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Extracting names from outlook distribution list-Help needed
    By rv02 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-21-2017, 12:46 PM
  2. Is it possible to print a list of pictures from file from a list created in excel?
    By scampie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-04-2016, 03:11 PM
  3. Help needed to consolidate & track a list of names!
    By NorthernRedwood in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-01-2015, 06:11 AM
  4. Check Names in Outlook, email created with Excel VBA
    By BlueValentine in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-04-2013, 12:27 PM
  5. Replies: 3
    Last Post: 03-03-2013, 12:25 PM
  6. [SOLVED] RE Excel: Once a list is created, how do you delete it if needed?
    By JNAY in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-08-2006, 12:45 PM
  7. HELP Needed, Word mail merge breaks when saved as.. from an Excel Macro
    By GastonFranzini@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-20-2006, 08:55 AM

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